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

[lintian] 01/01: Fix FP with public-domain instead of public domain



This is an automated email from the git hooks/post-receive script.

broucaries-guest pushed a commit to branch master
in repository lintian.

commit 2590b5e53b34b3b1f85fb7dd94426e0ec7bd24aa
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Sun Aug 30 19:50:17 2015 +0200

    Fix FP with public-domain instead of public domain
---
 checks/copyright-file.pm | 2 +-
 debian/changelog         | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/checks/copyright-file.pm b/checks/copyright-file.pm
index c6e35ef..106cdbb 100644
--- a/checks/copyright-file.pm
+++ b/checks/copyright-file.pm
@@ -303,7 +303,7 @@ sub run {
            $found
         && !$linked
         && !/(?:Copyright|Copr\.|\302\251)(?:.*|[\(C\):\s]+)\b\d{4}\b
-               |\bpublic\s+domain\b/xi
+               |\bpublic(?:\s+|-)domain\b/xi
       ) {
         tag 'copyright-without-copyright-notice';
     }
diff --git a/debian/changelog b/debian/changelog
index 32bbba9..a4080d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,9 @@ lintian (2.5.37) UNRELEASED; urgency=medium
     + [NT] Apply patch from Michael Stapelberg to a
       common false positive spelling mistake in "go"
       binaries.  (Closes: #795614)
+  * checks/copyright.pm:
+    + [BR] Fix FP for copyright-without-copyright-notice tag
+      allow public-domain.  (Closes: #786867)
   * checks/cruft.pm:
     + [BR] Fix complex regular subexpression recursion limit.
       Strip comments is only done on first 8192 characters.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: