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

Bug#549596: lintian: Do not tag copyright-refers-to-symlink-license usr/share/common-licenses/GPL when debian/copyright contains "License: Artistic or GPL-1+"



Hi all

On Sun, Oct 25, 2009 at 07:01:43PM +0900, Charles Plessy wrote:
> Le Sun, Oct 25, 2009 at 09:18:38AM +0100, Salvatore Bonaccorso a écrit :
> > 
> > Charles, would you agree to have the above for "License-Alias: Perl",
> > "License: Perl" and "License: Artistic or GPL-1+"?
> 
> No problem.

Ok, here is the accordingly updated proposed patch:

---(patch)--------------------------------------------------------------
diff -urN lintian-2.2.17.orig/checks/copyright-file lintian-2.2.17/checks/copyright-file
--- lintian-2.2.17.orig/checks/copyright-file   2009-10-28 10:37:32.000000000 +0100
+++ lintian-2.2.17/checks/copyright-file        2009-10-28 10:39:24.000000000 +0100
@@ -161,7 +161,9 @@
 # our false positives for GPL references that don't include a specific version
 # number, but it will get the obvious ones.
 if (m,(usr/share/common-licenses/(L?GPL|GFDL))([^-]),i && !m,as Perl itself,i
-    && !m,License-Alias:\s+Perl,) {
+    && !m,License-Alias:\s+Perl,
+    && !m,License:\s+Artistic\s+or\s+GPL-1\+,
+    && !m,License:\s+Perl,) {
     my ($ref, $license, $separator) = ($1, $2, $3);
     if ($separator =~ /[\d\w]/) {
        tag 'copyright-refers-to-nonexistent-license-file', "$ref$separator";
------------------------------------------------------------------------

Thank you for checking and consideration
Bests
Salvatore

Attachment: signature.asc
Description: Digital signature


Reply to: