[SCM] Debian packaging of libtie-cphash-perl branch, master, updated. 1368f49e10c7c94d6426faf21fd422adc78e7eff

gregor herrmann gregoa at debian.org
Sat Jan 21 14:28:01 UTC 2012


The following commit has been merged in the master branch:
commit 0f6a0a05f0d6a9d7e059ded06f5e35871769a856
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 21 15:21:16 2012 +0100

    Switch to debhelper compatibility level 8. Use tiny debian/rules.

diff --git a/debian/compat b/debian/compat
index 1e8b314..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-6
+8
diff --git a/debian/control b/debian/control
index c0aab95..cba7555 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libtie-cphash-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6), libmodule-build-perl
+Build-Depends: debhelper (>= 8), libmodule-build-perl
 Build-Depends-Indep: perl (>= 5.8.0), libtest-pod-perl,
  libtest-pod-coverage-perl 
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
diff --git a/debian/rules b/debian/rules
index be9fb0f..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,60 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@

-- 
Debian packaging of libtie-cphash-perl



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