[SCM] Debian packaging of libtext-wrapper-perl branch, master, updated. 3360b0846d46cd3a63e354daae17c72ab86c1a56

gregor herrmann gregoa at debian.org
Sat Mar 24 13:56:48 UTC 2012


The following commit has been merged in the master branch:
commit 84e3a83539ca0b05ad7a8bf1220979af6ab04e3d
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Mar 24 14:51:17 2012 +0100

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

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+8
diff --git a/debian/control b/debian/control
index a3a07af..2b58678 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libtext-wrapper-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), libmodule-build-perl
+Build-Depends: debhelper (>= 8), libmodule-build-perl
 Build-Depends-Indep: perl, libtest-pod-perl, libtest-pod-coverage-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Damyan Ivanov <dmn at debian.org>, gregor herrmann <gregoa at debian.org>
diff --git a/debian/libtext-wrapper-perl.examples b/debian/libtext-wrapper-perl.examples
new file mode 100644
index 0000000..0bbe99e
--- /dev/null
+++ b/debian/libtext-wrapper-perl.examples
@@ -0,0 +1 @@
+example/*
diff --git a/debian/rules b/debian/rules
index a63fdb9..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,64 +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_installexamples example/*
-	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 libtext-wrapper-perl



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