[SCM] Debian package checker branch, master, updated. 2.5.14-83-gf9273aa
The following commit has been merged in the master branch:
commit f9273aa912801029c32039561337100b735bcaf4
Author: Niels Thykier <niels@thykier.net>
Date: Mon Jul 22 15:12:58 2013 +0200
c/files.pm: Find more "extra-license-file"s
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/files.pm b/checks/files.pm
index 8cce558..9f969ac 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -783,7 +783,13 @@ foreach my $file ($info->sorted_index) {
}
# ---------------- license files
- if ($file =~ m,(?:copying|licen[cs]e)(?:\.[^/]+)?$,i
+ if ($file->basename =~ m{ \A
+ # Look for commonly used names for license files
+ (?: copying | licen[cs]e | l?gpl | bsd | artistic )
+ # ... possibly followed by a version
+ [v0-9._-]*
+ (?:\. .* )? \Z
+ }xsmi
# Ignore some common extensions for source or compiled extension files.
# There was at least one file named "license.el". These are probably
# license-displaying code, not license files. Also ignore executable
diff --git a/debian/changelog b/debian/changelog
index 5e484de..1a85647 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,10 @@ lintian (2.5.15) UNRELEASED; urgency=low
+ [NT] Apply patch from Niko Tyni to fix false-positive
package-superseded-by-perl for packages with epochs.
(Closes: #710919)
+ * checks/files.pm:
+ + [NT] Fix some false-negative extra-license-file.
+ Thanks to Helmut Grohne for the report and the advices.
+ (Closes: #701177)
* checks/manpages.{desc,pm}:
+ [NT] Apply patch from Bastien Roucariès to test for
manpages named after their build path.
--
Debian package checker
Reply to: