[libclass-factory-util-perl] 03/07: Shrink debian/rules to 3 lines.

gregor herrmann gregoa at debian.org
Mon Jun 1 18:41:45 UTC 2015


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

gregoa pushed a commit to branch master
in repository libclass-factory-util-perl.

commit 68c439a9b247c8cbd1b75d74b9b220ec81cb8633
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jun 1 20:36:52 2015 +0200

    Shrink debian/rules to 3 lines.
    
    Bump debhelper to 9.
---
 debian/compat  |  2 +-
 debian/control |  2 +-
 debian/rules   | 55 ++-----------------------------------------------------
 3 files changed, 4 insertions(+), 55 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 a0696b9..75dc429 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jay Bonci <jaybonci at debian.org>
-Build-Depends: debhelper (>> 5), libmodule-build-perl
+Build-Depends: debhelper (>= 9), libmodule-build-perl
 Build-Depends-Indep: perl
 Standards-Version: 3.7.3
 Homepage: https://metacpan.org/release/Class-Factory-Util
diff --git a/debian/rules b/debian/rules
index 67d5dc6..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,55 +1,4 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This is the debhelper compatibility version to use.
-#export DH_COMPAT=4
-
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
-
-
-build:
-	dh_testdir
-	# Add here commands to compile the package.
-	perl Build.PL installdirs=vendor
-clean:
-	dh_testdir
-	dh_testroot
-
-	[ ! -f Build ] || ./Build clean
-	rm -rf ./Build _build
-	dh_clean
-
-install:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	
-	./Build test
-	./Build install destdir=$(CURDIR)/debian/$(PACKAGE) create_packlist=0
-	[ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
-
-binary-arch:
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installman
-	dh_installchangelogs Changes
-	dh_installexamples
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-factory-util-perl.git



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