This is an automated email from the git hooks/post-receive script. lamby pushed a commit to branch master in repository lintian.
commit b03bb3f3597fc39545ad3fb2956feeaafcf2cac0 Author: Chris Lamb <la...@debian.org> Date: Fri Feb 16 22:38:06 2018 +0000 Also check, for example, "override_dh_fixperms-arch" for "override_dh_fixperms-does-not-call-dh_fixperms", etc. --- checks/rules.pm | 2 +- debian/changelog | 5 +++-- .../debian/debian/rules | 3 +++ .../rules-override-dh-foo-does-not-call-dh-foo/debian/debian/rules | 1 + t/tests/rules-override-dh-foo-does-not-call-dh-foo/tags | 1 + 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/checks/rules.pm b/checks/rules.pm index 2a79fed..0555205 100644 --- a/checks/rules.pm +++ b/checks/rules.pm @@ -434,7 +434,7 @@ sub run { } foreach my $cmd (qw(dh_clean dh_fixperms)) { - foreach my $suffix ('', '-indep') { + foreach my $suffix ('', '-indep', '-arch') { my $line = $overridden{"$cmd$suffix"}; tag "override_$cmd-does-not-call-$cmd", "(line $line)" if $line diff --git a/debian/changelog b/debian/changelog index de7bf3e..ee92b06 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,8 +13,9 @@ lintian (2.5.76) UNRELEASED; urgency=medium + [CL] Update override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS to fix a number of false positives. Thanks to Gregor Herrmann for the report. (Closes: #890537) - + [CL] Also check, for example, "override_dh_fixperms-indep" targets - for "override_dh_fixperms-does-not-call-dh_fixperms", etc. + + [CL] Also check, for example, "override_dh_fixperms-indep" and + "override_dh_fixperms-arch" targets for + "override_dh_fixperms-does-not-call-dh_fixperms", etc. * checks/scripts.pm: + [CL] Prevent some false-positives in udevadm-called-without-guard. * checks/watch-file.pm: diff --git a/t/tests/rules-override-dh-foo-does-not-call-dh-foo-unrel/debian/debian/rules b/t/tests/rules-override-dh-foo-does-not-call-dh-foo-unrel/debian/debian/rules index 259aa5f..c4d25dc 100755 --- a/t/tests/rules-override-dh-foo-does-not-call-dh-foo-unrel/debian/debian/rules +++ b/t/tests/rules-override-dh-foo-does-not-call-dh-foo-unrel/debian/debian/rules @@ -13,3 +13,6 @@ override_dh_fixperms: override_dh_fixperms-indep: dh_fixperms + +override_dh_fixperms-arch: + dh_fixperms diff --git a/t/tests/rules-override-dh-foo-does-not-call-dh-foo/debian/debian/rules b/t/tests/rules-override-dh-foo-does-not-call-dh-foo/debian/debian/rules index 619cabd..9270348 100755 --- a/t/tests/rules-override-dh-foo-does-not-call-dh-foo/debian/debian/rules +++ b/t/tests/rules-override-dh-foo-does-not-call-dh-foo/debian/debian/rules @@ -7,3 +7,4 @@ override_dh_clean: override_dh_fixperms: override_dh_fixperms-indep: +override_dh_fixperms-arch: diff --git a/t/tests/rules-override-dh-foo-does-not-call-dh-foo/tags b/t/tests/rules-override-dh-foo-does-not-call-dh-foo/tags index 1f0eab1..bff38c2 100644 --- a/t/tests/rules-override-dh-foo-does-not-call-dh-foo/tags +++ b/t/tests/rules-override-dh-foo-does-not-call-dh-foo/tags @@ -1,3 +1,4 @@ W: rules-override-dh-foo-does-not-call-dh-foo source: override_dh_clean-does-not-call-dh_clean (line 7) +W: rules-override-dh-foo-does-not-call-dh-foo source: override_dh_fixperms-does-not-call-dh_fixperms (line 10) W: rules-override-dh-foo-does-not-call-dh-foo source: override_dh_fixperms-does-not-call-dh_fixperms (line 8) W: rules-override-dh-foo-does-not-call-dh-foo source: override_dh_fixperms-does-not-call-dh_fixperms (line 9) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git