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

[lintian] 01/03: c/cruft: Ignore usr/lib/perl5 mentions in d/patches



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

nthykier pushed a commit to branch master
in repository lintian.

commit f9f879902bf1cacc975835fa789da6c87ee74611
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jul 31 14:34:14 2016 +0000

    c/cruft: Ignore usr/lib/perl5 mentions in d/patches
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/cruft.pm  | 1 +
 debian/changelog | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index 743033c..65882ad 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -697,6 +697,7 @@ sub find_cruft {
             # Skip symlinks and other nasty stuff as well as
             # debian/changelog
             if (   $short ne 'changelog'
+                && $name !~ m{^debian/patches/.*$}
                 && $entry->is_file
                 && $entry->is_open_ok) {
                 my $contents = $entry->file_contents;
diff --git a/debian/changelog b/debian/changelog
index 98e81e7..60e4ce5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,10 @@ lintian (2.5.46) UNRELEASED; urgency=medium
 
    XXX: generate tag summary with private/generate-tag-summary
 
+  * checks/cruft.pm:
+    + [NT] Ignore mentions of /usr/lib/perl5 in patches as they might
+      be a way of fixing said mentions.  Thanks to Robert Luberda
+      for reporting the bug.  (Closes: #802964)
   * checks/debhelper.{desc,pm}:
     + [JW] Apply patch from Chris Lamb to check for common typos in
       debian/rules target names.  (Closes: #832096)

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


Reply to: