[SCM] Debian package checker branch, master, updated. 2.2.15-10-g990f1f9
The following commit has been merged in the master branch:
commit 5766a22d4ffcee31d318742bc9c4811660798a50
Author: Raphael Geissert <atomo64@gmail.com>
Date: Mon Sep 14 17:20:07 2009 -0500
Warn about dh_undocumented, which is obsolete
diff --git a/checks/debhelper b/checks/debhelper
index 188e438..00f917a 100644
--- a/checks/debhelper
+++ b/checks/debhelper
@@ -96,6 +96,9 @@ while (<RULES>) {
if ($dhcommand eq 'dh_suidregister') {
tag "dh_suidregister-is-obsolete", "line $.";
}
+ if ($dhcommand eq 'dh_undocumented') {
+ tag "dh_undocumented-is-obsolete", "line $.";
+ }
# Don't warn about recently deprecated commands in code that may be
# optional. It may be there only for backports.
diff --git a/checks/debhelper.desc b/checks/debhelper.desc
index 484d9b4..f86fdb2 100644
--- a/checks/debhelper.desc
+++ b/checks/debhelper.desc
@@ -68,6 +68,15 @@ Ref: dh_suidregister(1)
Info: suidregister is obsoleted by dpkg-statoverride, so registration of
files in with dh_suidregister is unnecessary, and even harmful.
+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.
+ Adding symbolic links to the undocumented(7) man page for the binaries
+ without man page is deprecated therefore obsoleting the dh_undocumented
+ man page.
+
Tag: dh_desktop-is-deprecated
Severity: normal
Certainty: certain
diff --git a/t/tests/debhelper-deprecated/debian/debian/rules b/t/tests/debhelper-deprecated/debian/debian/rules
index 1a51ee8..e592a38 100755
--- a/t/tests/debhelper-deprecated/debian/debian/rules
+++ b/t/tests/debhelper-deprecated/debian/debian/rules
@@ -33,6 +33,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 7f0e9b6..c0cf2f1 100644
--- a/t/tests/debhelper-deprecated/desc
+++ b/t/tests/debhelper-deprecated/desc
@@ -8,3 +8,4 @@ Test-For:
dh_scrollkeeper-is-deprecated
dh_suidregister-is-obsolete
dh_testversion-is-deprecated
+ dh_undocumented-is-obsolete
diff --git a/t/tests/debhelper-deprecated/tags b/t/tests/debhelper-deprecated/tags
index bba13b7..6da5f4f 100644
--- a/t/tests/debhelper-deprecated/tags
+++ b/t/tests/debhelper-deprecated/tags
@@ -4,3 +4,4 @@ W: debhelper-deprecated source: dh_scrollkeeper-is-deprecated line 24
W: debhelper-deprecated source: dh_suidregister-is-obsolete line 35
W: debhelper-deprecated source: dh_testversion-is-deprecated line 17
W: debhelper-deprecated source: dh_testversion-is-deprecated line 30
+W: debhelper-deprecated source: dh_undocumented-is-obsolete line 36
--
Debian package checker
Reply to: