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

[lintian] 01/01: Ensure that "missing-build-dependency-for-dh_-command" is not emitted for dh-strip-nondeterminism at Debhelper compat levels >= 10. (Closes: #876443)



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

lamby pushed a commit to branch master
in repository lintian.

commit c39eac48fe829b700661e24beb47f63f35468ffe
Author: Chris Lamb <lamby@debian.org>
Date:   Fri Sep 22 19:54:02 2017 +0100

    Ensure that "missing-build-dependency-for-dh_-command" is not emitted for dh-strip-nondeterminism at Debhelper compat levels >= 10. (Closes: #876443)
---
 checks/debhelper.pm                               | 1 +
 debian/changelog                                  | 4 ++++
 t/tests/debhelper-no-depends/debian/debian/compat | 1 +
 t/tests/debhelper-no-depends/debian/debian/rules  | 1 +
 t/tests/debhelper-no-depends/tags                 | 1 +
 5 files changed, 8 insertions(+)

diff --git a/checks/debhelper.pm b/checks/debhelper.pm
index 6ef0a1b..541b0f8 100644
--- a/checks/debhelper.pm
+++ b/checks/debhelper.pm
@@ -434,6 +434,7 @@ sub run {
     while (my ($dep, $command) = each %missingbdeps) {
         next if $dep eq 'debhelper'; #handled above
         next if $dep eq 'autotools-dev' and $level >= 10;
+        next if $dep eq 'dh-strip-nondeterminism' and $level >= 10;
         tag 'missing-build-dependency-for-dh_-command', "$command => $dep"
           unless ($bdepends_noarch->implies($dep));
     }
diff --git a/debian/changelog b/debian/changelog
index 06dedaf..5ad8977 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,10 @@ lintian (2.5.54) UNRELEASED; urgency=medium
       matching URLs.
     + [CL] Prevent false positives in copyright-year-in-future when
       matching the Tcl license (eg. postgresql-10).  (Closes: #876360)
+  * checks/debhelper.pm:
+    + [CL] Ensure that "missing-build-dependency-for-dh_-command" is not
+      emitted for dh-strip-nondeterminism at Debhelper compat levels >=
+      10.  (Closes: #876443)
   * checks/files.desc:
     + [CL] Correct grammar and punctuation in description of
       node-package-install-in-nodejs-rootdir.
diff --git a/t/tests/debhelper-no-depends/debian/debian/compat b/t/tests/debhelper-no-depends/debian/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/t/tests/debhelper-no-depends/debian/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/t/tests/debhelper-no-depends/debian/debian/rules b/t/tests/debhelper-no-depends/debian/debian/rules
index fba393d..5b6ae64 100755
--- a/t/tests/debhelper-no-depends/debian/debian/rules
+++ b/t/tests/debhelper-no-depends/debian/debian/rules
@@ -21,3 +21,4 @@ else
   endif
 endif
 	dh binary-indep --remaining
+	dh_strip_nondeterminism
diff --git a/t/tests/debhelper-no-depends/tags b/t/tests/debhelper-no-depends/tags
index 4601a1b..7ff62a5 100644
--- a/t/tests/debhelper-no-depends/tags
+++ b/t/tests/debhelper-no-depends/tags
@@ -5,6 +5,7 @@ E: debhelper-no-depends source: missing-build-dependency-for-dh_-command dh_clid
 E: debhelper-no-depends source: missing-build-dependency-for-dh_-command dh_dpatch_patch => dpatch
 E: debhelper-no-depends source: missing-build-dependency-for-dh_-command dh_gtkmodules => libgtk2.0-dev
 E: debhelper-no-depends source: missing-build-dependency-for-dh_-command dh_lisp => dh-lisp
+E: debhelper-no-depends source: missing-build-dependency-for-dh_-command dh_strip_nondeterminism => dh-strip-nondeterminism
 E: debhelper-no-depends source: package-uses-debhelper-but-lacks-build-depends
 W: debhelper-no-depends source: debhelper-but-no-misc-depends debhelper-no-depends
 W: debhelper-no-depends source: package-needs-versioned-debhelper-build-depends 9

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


Reply to: