[SCM] Debian packaging of libdata-types-perl branch, master, updated. f3323c5c220d88e8b89035ba82e75afa5b94981b

gregor herrmann gregoa at debian.org
Sat Aug 27 15:46:42 UTC 2011


The following commit has been merged in the master branch:
commit a4b8aa2e3cc68e5e3c35916f91f99a956107f279
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Aug 27 17:38:08 2011 +0200

    Use tiny debian/rules, switch to debhelper 8.

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 d6d1492..237cc03 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libdata-types-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-7), libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
diff --git a/debian/rules b/debian/rules
index cff76da..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,63 +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
-	# Add commands to compile the package here
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	# Add commands to install the package into $(TMP) here
-	$(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 libdata-types-perl



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