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

Bug#464992: lintian: Copyright false positive



tags 464992 + patch
kthxbye

Patch (with testcase) attached.


Regards,

-- 
Chris Lamb, UK                                       chris@chris-lamb.co.uk
                                                            GPG: 0x634F9A20
Index: checks/copyright-file
===================================================================
--- checks/copyright-file	(revision 1202)
+++ checks/copyright-file	(working copy)
@@ -238,7 +238,7 @@
     tag "copyright-contains-dh_make-todo-boilerplate", "";
 }
 
-if ($found && !$linked && !/(Copyright|Copr\.|\302\251)(.*|[:\s]+)\b\d{4}\b|\bpublic\s+domain\b/) {
+if ($found && !$linked && !/(Copyright|Copr\.|\302\251)(.*|[:\s]+)\b\d{4}\b|\bpublic\s+domain\b/i) {
     tag 'copyright-without-copyright-notice';
 }
 
Index: testset/debug/debian/copyright
===================================================================
--- testset/debug/debian/copyright	(revision 1202)
+++ testset/debug/debian/copyright	(working copy)
@@ -1,2 +1,4 @@
 Written Sat, 04 Mar 2006 21:30:01 -0800 by Russ Allbery <rra@debian.org>.
-Copyright Russ Allbery 2006
+
+Test for copyright in capital letters. (#464992)
+COPYRIGHT RUSS ALLBERY 2006

Attachment: signature.asc
Description: PGP signature


Reply to: