[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#387269: lintian: [checks/files] extra-license-file: Exception for Ruby script



Package: lintian
Version: 1.23.24
Severity: minor

There are cases where Ruby scripts generate some license text,
and the file name contains "license".  I encountered this
particular case when I package qwikWeb (written in Ruby).

Here is a patch.

--- lintian-1.23.24/checks/files~	2006-09-04 06:56:29.000000000 +0900
+++ lintian-1.23.24/checks/files	2006-09-13 18:23:44.000000000 +0900
@@ -502,7 +502,7 @@
 	# because a package had a HTML form for licenses called like that.
 	# Another exception is made for various picture formats since
 	# those are likely to just be simply pictures.
-	and not $file =~ m/\.(el|c|h|py|cc|pl|pm|html|php|xpm|png|jpe?g|gif|svg)$/
+	and not $file =~
m/\.(el|c|h|py|cc|pl|pm|rb|html|php|xpm|png|jpe?g|gif|svg)$/
         and not defined $link) {
 	tag "extra-license-file", "$file";
     }



Reply to: