[SCM] Debian packaging of libxml-rss-simplegen-perl branch, master, updated. 897b8020372bc0b7ddd85861db8200f51f47ea38

Axel Beckert abe at deuxchevaux.org
Tue Apr 30 01:10:40 UTC 2013


The following commit has been merged in the master branch:
commit 897b8020372bc0b7ddd85861db8200f51f47ea38
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Apr 30 03:07:10 2013 +0200

    Switch to minimal dh v7 style debian/rules

diff --git a/debian/changelog b/debian/changelog
index 811d0ca..d0bdffe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,13 +8,11 @@ libxml-rss-simplegen-perl (11.11-3) UNRELEASED; urgency=low
 
   [ Axel Beckert ]
   * Bump Standards Version to 3.9.4
-    - Remove PREFIX= from "make install" call. No more needed.
   * Bump debhelper compatibility to 9
-    - Use dh_prep instead of dh_clean -k
+  * Switch to minimal dh v7 style debian/rules
   * Switch to source format "3.0 (quilt)".
     - Remove build-dependency on quilt.
   * Fix lintian warnings:
-    - debian-rules-missing-recommended-target
     - copyright-refers-to-symlink-license
     - description-synopsis-starts-with-article
   * Switch homepage and watch file from search.cpan.org to metacpan.org.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
index 8381227..657234c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,79 +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
 
-# 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-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test TEST_FILES="t/00_about.t t/05_xmltext.t \
-                                 t/10_html2xmltext.t t/30_simple_xml.t \
-                                 t/40_item.t t/50_history.t t/80_basedate.t"
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_prep
-
-	# Add commands to install the package into $(TMP) here
-	$(MAKE) install DESTDIR=$(TMP)
-
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples
-	dh_installdocs README
-	dh_installchangelogs ChangeLog
-	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 libxml-rss-simplegen-perl



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