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

[SCM] Debian package checker branch, master, updated. 2.5.2-62-g428d937



The following commit has been merged in the master branch:
commit 428d93745602cc94e36195f68efc903ef6947007
Author: Jakub Wilk <jwilk@debian.org>
Date:   Tue Aug 30 17:45:22 2011 +0200

    Check for the use of dh_installmanpages in d/rules
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/debhelper b/checks/debhelper
index 8806504..533ea1e 100644
--- a/checks/debhelper
+++ b/checks/debhelper
@@ -103,6 +103,9 @@ while (<RULES>) {
 	if ($dhcommand eq 'dh_pycentral') {
 	    tag 'dh_pycentral-is-obsolete', "line $.";
 	}
+	if ($dhcommand eq 'dh_installmanpages') {
+	    tag 'dh_installmanpages-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 480a40f..791b605 100644
--- a/checks/debhelper.desc
+++ b/checks/debhelper.desc
@@ -109,6 +109,13 @@ Info: This package calls dh_pycentral in its <tt>debian/rules</tt> file.
  Lenny or older system, please ignore this warning.
 Ref: http://wiki.debian.org/Python/PyCentral2DhPython2
 
+Tag: dh_installmanpages-is-obsolete
+Severity: normal
+Certainty: certain
+Ref: dh_installmanpages(1)
+Info: This package calls dh_installmanpages in its <tt>debian/rules</tt> file.
+ dh_installmanpages is deprecated in favour of dh_installman.
+
 Tag: dh_desktop-is-deprecated
 Severity: normal
 Certainty: certain
diff --git a/debian/changelog b/debian/changelog
index 7de7094..559ee44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ lintian (2.5.3) UNRELEASED; urgency=low
       - boilerplate-copyright-format-uri
       - comma-separated-files-in-dep5-copyright
       - debian-copyright-is-symlink
+      - dh_installmanpages-is-obsolete
       - missing-field-in-dep5-copyright
       - missing-license-paragraph-in-dep5-copyright
       - missing-license-text-in-dep5-copyright
@@ -27,6 +28,8 @@ lintian (2.5.3) UNRELEASED; urgency=low
   * checks/debhelper:
     + [NT] Recognise /usr/share/R/debian/r-cran.mk as a cdbs-based
       build.  This prevents false-positive "unneeded cdbs" warning.
+    + [JW] Check for use of the obsolete dh_installmanpages debhelper
+      program.  Thanks to Joey Hess for the report.  (Closes: #634112).
   * checks/duplicate-files{,.desc}:
     + [NT] Replace the exception for "__init__.py" files by excluding
       all empty files from the check.  The bug (#632789) only requests
diff --git a/t/tests/debhelper-deprecated/debian/debian/rules b/t/tests/debhelper-deprecated/debian/debian/rules
index 90f723a..7efe7b3 100755
--- a/t/tests/debhelper-deprecated/debian/debian/rules
+++ b/t/tests/debhelper-deprecated/debian/debian/rules
@@ -21,6 +21,7 @@ binary-indep:
 	dh_install
 	dh_installchangelogs
 	dh_installdocs
+	dh_installmanpages
 	dh_desktop
 	-dh_dhelp
 	dh_scrollkeeper
diff --git a/t/tests/debhelper-deprecated/desc b/t/tests/debhelper-deprecated/desc
index 850e513..1dda2b9 100644
--- a/t/tests/debhelper-deprecated/desc
+++ b/t/tests/debhelper-deprecated/desc
@@ -5,6 +5,7 @@ Description: Test for use of deprecated dh_* commands
 Test-For:
  dh_desktop-is-deprecated
  dh_dhelp-is-deprecated
+ dh_installmanpages-is-obsolete
  dh_pycentral-is-obsolete
  dh_python-is-obsolete
  dh_scrollkeeper-is-deprecated
diff --git a/t/tests/debhelper-deprecated/tags b/t/tests/debhelper-deprecated/tags
index 6ed2c28..5f05181 100644
--- a/t/tests/debhelper-deprecated/tags
+++ b/t/tests/debhelper-deprecated/tags
@@ -1,7 +1,8 @@
-W: debhelper-deprecated source: dh_desktop-is-deprecated line 24
-W: debhelper-deprecated source: dh_dhelp-is-deprecated line 25
-W: debhelper-deprecated source: dh_pycentral-is-obsolete line 30
-W: debhelper-deprecated source: dh_python-is-obsolete line 27
-W: debhelper-deprecated source: dh_scrollkeeper-is-deprecated line 26
-W: debhelper-deprecated source: dh_suidregister-is-obsolete line 40
-W: debhelper-deprecated source: dh_undocumented-is-obsolete line 41
+W: debhelper-deprecated source: dh_desktop-is-deprecated line 25
+W: debhelper-deprecated source: dh_dhelp-is-deprecated line 26
+W: debhelper-deprecated source: dh_installmanpages-is-obsolete line 24
+W: debhelper-deprecated source: dh_pycentral-is-obsolete line 31
+W: debhelper-deprecated source: dh_python-is-obsolete line 28
+W: debhelper-deprecated source: dh_scrollkeeper-is-deprecated line 27
+W: debhelper-deprecated source: dh_suidregister-is-obsolete line 41
+W: debhelper-deprecated source: dh_undocumented-is-obsolete line 42

-- 
Debian package checker


Reply to: