[libcgi-untaint-date-perl] 06/10: Bump debhelper compatibility level to 9, and dh(1) in debian/rules.

gregor herrmann gregoa at debian.org
Sat Jun 13 11:47:06 UTC 2015


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

gregoa pushed a commit to branch master
in repository libcgi-untaint-date-perl.

commit eab92cfcffe3fe33a9fa0169c51207b7252bc51f
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 13 13:38:58 2015 +0200

    Bump debhelper compatibility level to 9, and dh(1) in debian/rules.
---
 debian/compat  |  2 +-
 debian/control |  2 +-
 debian/rules   | 29 ++---------------------------
 3 files changed, 4 insertions(+), 29 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index c5b1341..8dd9c56 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Section: perl
 Testsuite: autopkgtest-pkg-perl
 Priority: extra
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: perl,
                      libcgi-pm-perl | perl (<< 5.19),
                      libcgi-untaint-perl,
diff --git a/debian/rules b/debian/rules
index a6be898..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,29 +1,4 @@
 #!/usr/bin/make -f
 
-build : build-stamp
-
-build-stamp : Makefile.PL
-	perl Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) test
-	touch build-stamp
-
-binary : binary-arch binary-indep
-
-binary-arch :
-
-binary-indep : build-stamp
-	dh_testroot
-	$(MAKE) PREFIX=$(CURDIR)/debian/libcgi-untaint-date-perl/usr install
-	dh_perl
-	dh_installchangelogs Changes
-	dh_installdocs
-	dh_compress
-	dh_fixperms
-	dh_gencontrol
-	dh_builddeb
-
-clean : 
-	if [ -f Makefile ]; then $(MAKE) clean; fi
-	dh_clean Makefile Makefile.old build-stamp
-
-.PHONY : build binary binary-arch binary-dep clean
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcgi-untaint-date-perl.git



More information about the Pkg-perl-cvs-commits mailing list