[SCM] Debian packaging of libpetal-utils-perl branch, master, updated. f354df5eab88e6cb15a0e8ebc82f841c81b901a6

Damyan Ivanov dmn at debian.org
Sun Aug 14 12:01:32 UTC 2011


The following commit has been merged in the master branch:
commit f106b4a1e49d119420eade6e88a67cd3e7d454d6
Author: Damyan Ivanov <dmn at debian.org>
Date:   Sun Aug 14 14:45:44 2011 +0300

    Use tiny debhelper debian/rules and compatibility level 8

diff --git a/debian/changelog b/debian/changelog
index 8a7097b..b45c830 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ libpetal-utils-perl (0.06-2) UNRELEASED; urgency=low
   * Bump libpetal-perl (build-)dependencies to 2.19-2
     Ensures Petal that is not broken by Safe in Perl 5.12.1
     Closes: #627271 -- FTBFS
+  * Use tiny debhelper debian/rules and compatibility level 8
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:46:05 +0100
 
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 ecd6ae0..8c7501d 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libpetal-utils-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), libmodule-build-perl
+Build-Depends: debhelper (>= 8), libmodule-build-perl
 Build-Depends-Indep: perl (>= 5.6.10-12), libpetal-perl (>= 2.19-2),
  liburi-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
diff --git a/debian/rules b/debian/rules
index 973d080..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 TODO
-	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 libpetal-utils-perl



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