[lintian] 02/02: c/debhelper: dh_undocumented is no more
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 01d2e7702f6e146febc163accd157073fa6aef9d
Author: Niels Thykier <niels@thykier.net>
Date: Sun Mar 13 20:38:33 2016 +0000
c/debhelper: dh_undocumented is no more
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/debhelper.desc | 9 ---------
checks/debhelper.pm | 3 ---
debian/changelog | 3 +++
t/tests/debhelper-deprecated/debian/debian/rules | 2 +-
t/tests/debhelper-deprecated/desc | 2 +-
t/tests/debhelper-deprecated/tags | 1 -
6 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/checks/debhelper.desc b/checks/debhelper.desc
index 92d1d66..beb5d69 100644
--- a/checks/debhelper.desc
+++ b/checks/debhelper.desc
@@ -63,15 +63,6 @@ Info: This package contains debian/*.ex and/or debian/ex.* files
package's details and renamed for use by various debhelper commands.
If they are not being used, they should be removed.
-Tag: dh_undocumented-is-obsolete
-Severity: normal
-Certainty: certain
-Ref: dh_undocumented(1)
-Info: This package calls dh_undocumented in its <tt>debian/rules</tt>
- file. The dh_undocumented command is obsolete and does nothing, since
- it's former behavior of adding symlinks to the undocumented(7) man page
- is now obsolete.
-
Tag: dh_pysupport-is-obsolete
Severity: normal
Certainty: certain
diff --git a/checks/debhelper.pm b/checks/debhelper.pm
index d3fb3c5..c08f38f 100644
--- a/checks/debhelper.pm
+++ b/checks/debhelper.pm
@@ -90,9 +90,6 @@ sub run {
if (m/^\s+-?(dh_\S+)/) {
my $dhcommand = $1;
- if ($dhcommand eq 'dh_undocumented') {
- tag 'dh_undocumented-is-obsolete', "line $.";
- }
if ($dhcommand eq 'dh_pysupport') {
tag 'dh_pysupport-is-obsolete', "line $.";
$seen_python_helper = 1;
diff --git a/debian/changelog b/debian/changelog
index f0bd68f..0d2b203 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ lintian (2.5.43) UNRELEASED; urgency=medium
XXX: generate tag summary with private/generate-tag-summary
+ * checks/debhelper.{desc,pm}:
+ + [NT] Remove check for dh_undocumented as debhelper has
+ dropped the helper.
* checks/version-substvars.{desc,pm}:
+ [NT] Add an experimental tag to check for arch:all
binNMUability. This is currently not supported at all
diff --git a/t/tests/debhelper-deprecated/debian/debian/rules b/t/tests/debhelper-deprecated/debian/debian/rules
index 03d7607..d162416 100755
--- a/t/tests/debhelper-deprecated/debian/debian/rules
+++ b/t/tests/debhelper-deprecated/debian/debian/rules
@@ -36,7 +36,7 @@ endif
dh_compress
dh_fixperms
#dh_suidregister
- dh_undocumented
+
dh_installdeb
dh_gencontrol
dh_md5sums
diff --git a/t/tests/debhelper-deprecated/desc b/t/tests/debhelper-deprecated/desc
index 03a5ec0..73e9e1b 100644
--- a/t/tests/debhelper-deprecated/desc
+++ b/t/tests/debhelper-deprecated/desc
@@ -6,4 +6,4 @@ Test-For:
dh_desktop-is-deprecated
dh_installmanpages-is-obsolete
dh_pysupport-is-obsolete
- dh_undocumented-is-obsolete
+
diff --git a/t/tests/debhelper-deprecated/tags b/t/tests/debhelper-deprecated/tags
index e15fc05..90a8887 100644
--- a/t/tests/debhelper-deprecated/tags
+++ b/t/tests/debhelper-deprecated/tags
@@ -2,4 +2,3 @@ E: debhelper-deprecated source: build-depends-on-obsolete-package build-depends:
W: debhelper-deprecated source: dh_desktop-is-deprecated line 25
W: debhelper-deprecated source: dh_installmanpages-is-obsolete line 24
W: debhelper-deprecated source: dh_pysupport-is-obsolete line 28
-W: debhelper-deprecated source: dh_undocumented-is-obsolete line 39
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: