[SCM] Debian packaging of libpod-constants-perl branch, master, updated. cfca0fb2c4b7d1afcd7dbc60598a66a1f7c69017

gregor herrmann gregoa at debian.org
Tue Nov 15 20:39:21 UTC 2011


The following commit has been merged in the master branch:
commit 42567370cefce24eac69fbf9440d86d74757dfb5
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Nov 15 21:19:08 2011 +0100

    Switch to debhelper 8 and tiny debian/rules; don't install README anymore;
    add some files to debian/clean.

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..e75be5f
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+t/perlpath
+t/TestManPage.pm
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 4c0c454..d25e514 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libpod-constants-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl (>= 5.8.8-11.1)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Damyan Ivanov <dmn at debian.org>
diff --git a/debian/rules b/debian/rules
index db40a07..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,71 +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.
 
-# 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
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	$(PERL) Makefile.PL INSTALLDIRS=vendor \
-		INSTALLVENDORARCH=/usr/share/perl5/ \
-		VENDORARCHEXP=/usr/share/perl5/
-	$(MAKE)
-	$(MAKE) test
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean t/perlpath t/TestManPage.pm
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	touch $@
-
-binary-arch:
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+	dh $@

-- 
Debian packaging of libpod-constants-perl



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