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

[lintian] 01/01: Fix false negative manpage-named-after-build-path



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

nthykier pushed a commit to branch master
in repository lintian.

commit bf9e234a654db52c0cec6872846f6cfb39f3ca20
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Nov 30 21:27:11 2016 +0000

    Fix false negative manpage-named-after-build-path
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/manpages.pm | 2 +-
 debian/changelog   | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/checks/manpages.pm b/checks/manpages.pm
index 5838bba..6bcb897 100644
--- a/checks/manpages.pm
+++ b/checks/manpages.pm
@@ -81,7 +81,7 @@ sub run {
             or ($path =~ m,^usr/share/man(/\S+),o));
         my $t = $1;
 
-        if ($file =~ m/_build_buildd/ or $file =~ /_tmp_buildd/) {
+        if ($file =~ m{/_build_} or $file =~ m{_tmp_buildd}) {
             tag 'manpage-named-after-build-path', $file;
         }
 
diff --git a/debian/changelog b/debian/changelog
index 0f48a17..68ec3af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,9 @@ lintian (2.5.50) UNRELEASED; urgency=medium
       for deliberately empty packages.  If your package receives
       an "empty-binary-package" tag, please replace the use of
       "virtual package".
+  * checks/manpages.pm:
+    + [JW, NT] Fix false negative manpage-named-after-build-path
+      for packages built by sbuild.  (Closes: #801760)
   * checks/scripts.{desc,pm}:
     + [JW, NT] Apply patch from Antonio Ospite that updates the
       test for php scripts without a php-cli dependency.  Thanks

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


Reply to: