[SCM] Debian package checker branch, master, updated. 2.2.2-2-g3f8adb6
The following commit has been merged in the master branch:
commit 6f8f23f61ad85ed887f384e286bf437ebf4b706c
Author: Evgeni Golov <sargentd@die-welt.net>
Date: Mon Feb 2 18:09:53 2009 +0100
read $license-X+ as $license X or later in debian/copyright
diff --git a/checks/copyright-file b/checks/copyright-file
index fbfbd72..4c870f4 100644
--- a/checks/copyright-file
+++ b/checks/copyright-file
@@ -156,7 +156,8 @@ if (m,usr/share/common-licenses/(GPL|LGPL|BSD|Artistic)\.gz,) {
if (m,(usr/share/common-licenses/(L?GPL|GFDL))[^-],i && !m,as Perl itself,i
&& !m,License-Alias:\s+Perl,) {
my $ref = $1;
- if (m,\b(any|or)\s+later(\s+version)?\b,i) {
+ my $license = $2;
+ if (m,\b(any|or)\s+later(\s+version)?\b,i || m,License: $license-[\d\.]+\+,i) {
tag "copyright-refers-to-symlink-license", $ref;
} else {
tag "copyright-refers-to-versionless-license-file", $ref;
--
Debian package checker
Reply to: