[SCM] Debian packaging of libxml-sax-expat-perl branch, master, updated. 047baa24d5206465b3eee750f624e8bddd06e0b7

Ansgar Burchardt ansgar at debian.org
Thu Sep 15 18:49:26 UTC 2011


The following commit has been merged in the master branch:
commit f504cf1273694d7b40c701073083c2ad0a987260
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Thu Sep 15 20:39:44 2011 +0200

    Use tiny debian/rules with 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 310d6dd..25da84e 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Standards-Version: 3.8.0
 Homepage: http://search.cpan.org/dist/XML-SAX-Expat/
 Vcs-Git: git://git.debian.org/pkg-perl/packages/libxml-sax-expat-perl.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libxml-sax-expat-perl.git
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl, libxml-namespacesupport-perl (>= 0.03),
  libxml-parser-perl (>= 2.27), libxml-sax-perl (>= 0.03),
  libtest-pod-perl, libtest-pod-coverage-perl
diff --git a/debian/libxml-sax-expat-perl.examples b/debian/libxml-sax-expat-perl.examples
new file mode 100644
index 0000000..c0f0d8a
--- /dev/null
+++ b/debian/libxml-sax-expat-perl.examples
@@ -0,0 +1 @@
+eg/*
diff --git a/debian/rules b/debian/rules
index 9551d2d..ad2303d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,66 +1,7 @@
 #!/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
+%:
+	dh $@
 
-# 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
-	SKIP_SAX_INSTALL=1 $(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch $@
-
-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
-
-	# lintian override for a long line with a URL.
-	dh_installdirs /usr/share/lintian/overrides/
-	install -m 644 $(CURDIR)/debian/lintian-overrides $(TMP)/usr/share/lintian/overrides/$(PACKAGE)
-
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples eg/*
-	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
+override_dh_auto_configure:
+	SKIP_SAX_INSTALL=1 dh_auto_configure

-- 
Debian packaging of libxml-sax-expat-perl



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