[liblib-abs-perl] 03/09: Switch from cdbs to dh(1).

gregor herrmann gregoa at debian.org
Wed Jan 1 22:25:57 UTC 2014


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

gregoa pushed a commit to branch master
in repository liblib-abs-perl.

commit 6d114d427679ba5df4ee443fe59820da486a15d6
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jan 1 23:18:51 2014 +0100

    Switch from cdbs to dh(1).
---
 debian/control |  2 +-
 debian/rules   | 23 ++---------------------
 2 files changed, 3 insertions(+), 22 deletions(-)

diff --git a/debian/control b/debian/control
index 2bd2ab3..1aa827d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: perl
 Homepage: http://search.cpan.org/~mons/lib-abs/lib/lib/abs.pm
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Dmitry E. Oboukhov <unera at debian.org>
-Build-Depends: debhelper (>= 7), cdbs
+Build-Depends: debhelper (>= 7)
 Standards-Version: 3.9.1
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/liblib-abs-perl.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/liblib-abs-perl.git
diff --git a/debian/rules b/debian/rules
index bdddbdd..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,4 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/perl-makemaker.mk
-
-MAIN_MODULE	= lib/lib/abs.pm
-
-DEBVERSION = $(shell dpkg-parsechangelog \
-	|grep ^Version|awk '{print $$2}'|sed 's/-.*//' )
-PERLVERSION = $(shell grep '^our[[:space:]]\+\$$VERSION' $(MAIN_MODULE) \
-	|awk '{print $$4}'|sed "s/[';']//g" )
-
-install/liblib-abs-perl::
-	@set -e; \
-	if ! test "x$(DEBVERSION)" = "x$(PERLVERSION)"; then \
-		echo "Error: changelog has version $(DEBVERSION) " \
-			"but module has $(PERLVERSION)"; \
-		false; \
-	fi
-
-clean::
-	rm -f Makefile.old	
-	rm -fr .pc
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblib-abs-perl.git



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