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

lintian: r858 - in trunk: checks debian



Author: rra
Date: 2007-04-25 01:55:49 +0200 (Wed, 25 Apr 2007)
New Revision: 858

Modified:
   trunk/checks/files
   trunk/debian/changelog
Log:
  + [RA] Don't consider {copying,license}.dtd extra license files; the
    Mozilla suite uses them for non-licenses.  (Closes: #420558)

Modified: trunk/checks/files
===================================================================
--- trunk/checks/files	2007-04-24 23:52:41 UTC (rev 857)
+++ trunk/checks/files	2007-04-24 23:55:49 UTC (rev 858)
@@ -500,15 +500,19 @@
 
     # ---------------- license files
     if ($file =~ m,(copying|licen[cs]e)(\.[^/]+)?$,i
-	# ignore some common extensions; there was at least one file
+	# Ignore some common extensions; there was at least one file
 	# named "license.el".  These are probably license-displaying
 	# code, not license files.
-        # Another exception is made for .html and .php because preserving
-        # working links is more important than saving some bytes, and
+	#
+	# Another exception is made for .html and .php because preserving
+	# working links is more important than saving some bytes, and
 	# 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|rb|xpm|png|jpe?g|gif|svg)$/
+	#
+	# DTD files are excluded at the request of the Mozilla suite
+	# maintainers.
+	and not $file =~ m/\.(el|c|h|py|cc|pl|pm|html|php|rb|xpm|png|jpe?g|gif|svg|dtd)$/
         and not defined $link) {
 	tag "extra-license-file", "$file";
     }

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-04-24 23:52:41 UTC (rev 857)
+++ trunk/debian/changelog	2007-04-24 23:55:49 UTC (rev 858)
@@ -18,6 +18,8 @@
       Seligmann.  (Closes: #420526)
   * checks/files{.desc,}:
     + [RA] Check for svk commit message files.
+    + [RA] Don't consider {copying,license}.dtd extra license files; the
+      Mozilla suite uses them for non-licenses.  (Closes: #420558)
   * checks/md5sums:
     + [RA] Don't warn about a missing md5sums file if the package contains
       nothing for which we would generate an MD5 checksum.  Thanks,
@@ -32,7 +34,7 @@
       program its maintainer scripts use.  Thanks, Daniel Leidert.
       (Closes: #419461)
 
- -- Russ Allbery <rra@debian.org>  Tue, 24 Apr 2007 16:45:04 -0700
+ -- Russ Allbery <rra@debian.org>  Tue, 24 Apr 2007 16:55:44 -0700
 
 lintian (1.23.29) unstable; urgency=low
 



Reply to: