[SCM] Debian packaging of libdata-random-perl branch, master, updated. 4e67fd28aea4d4de232d126beab9deb843634471

gregor herrmann gregoa at debian.org
Sat Nov 26 16:47:26 UTC 2011


The following commit has been merged in the master branch:
commit be364ba3e4eeeb6d294de5eda55c489967b1248f
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Nov 26 17:04:35 2011 +0100

    Use debhelper 8, and 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 7b41912..8630cea 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libdata-random-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl (>= 5.8.0-7), libdate-calc-perl, libgd-gd2-perl | libgd-gd2-noxpm-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregoa at debian.org>,
diff --git a/debian/libdata-random-perl.docs b/debian/libdata-random-perl.docs
new file mode 100644
index 0000000..9638aa7
--- /dev/null
+++ b/debian/libdata-random-perl.docs
@@ -0,0 +1,2 @@
+README2.linux.words
+README.linux.words
diff --git a/debian/rules b/debian/rules
index 01886e6..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,65 +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
-	$(MAKE)
-	$(MAKE) test
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README2.linux.words README.linux.words
-	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 libdata-random-perl



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