[PATCH 1/4] stop copyright text being picked up as a name

Philip Hands phil at hands.com
Mon Jan 14 11:49:13 UTC 2013


---
 debian/changelog        |    6 ++++++
 scripts/licensecheck.pl |    1 +
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a8a14ec..de58207 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+devscripts (2.12.6+exp1~hands1) UNRELEASED; urgency=low
+
+  * fix copyright false positives
+
+ -- Philip Hands <phil at hands.com>  Mon, 10 Dec 2012 09:30:25 +0000
+
 devscripts (2.12.6+exp1) UNRELEASED; urgency=low
 
   [ Christoph Berg ]
diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 4a3c291..6eef989 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -331,6 +331,7 @@ sub parse_copyright {
 	\b(?:info(?:rmation)?	# Discussing copyright information
 	|notice			# Discussing the notice
 	|and|or                 # Part of a sentence
+	|(holder|owner)s?.*contributors?  # Part of a sentence
 	)\b';
 
     if (m%$copyright_indicator_regex(?::\s*|\s+)(\S.*)$%ix) {
-- 
1.7.10.4




More information about the devscripts-devel mailing list