r33861 - in /trunk/libwww-mechanize-formfiller-perl/debian: changelog compat control rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Apr 24 10:00:25 UTC 2009


Author: dmn
Date: Fri Apr 24 10:00:18 2009
New Revision: 33861

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=33861
Log:
* rules: squeezed to almost three-liner with DH7
  + bump compatlevel to 7
  + bump debhelper build-dependency to 7.0.50
* do not ship redundant README

Modified:
    trunk/libwww-mechanize-formfiller-perl/debian/changelog
    trunk/libwww-mechanize-formfiller-perl/debian/compat
    trunk/libwww-mechanize-formfiller-perl/debian/control
    trunk/libwww-mechanize-formfiller-perl/debian/rules

Modified: trunk/libwww-mechanize-formfiller-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-mechanize-formfiller-perl/debian/changelog?rev=33861&op=diff
==============================================================================
--- trunk/libwww-mechanize-formfiller-perl/debian/changelog (original)
+++ trunk/libwww-mechanize-formfiller-perl/debian/changelog Fri Apr 24 10:00:18 2009
@@ -11,6 +11,10 @@
     MANIFEST.SKIP is not present
     + add build-dependency to quilt; plug quilt into debian/rules
     + add README.source
+  * rules: squeezed to almost three-liner with DH7
+    + bump compatlevel to 7
+    + bump debhelper build-dependency to 7.0.50
+  * do not ship redundant README
 
  -- Damyan Ivanov <dmn at debian.org>  Fri, 24 Apr 2009 12:16:01 +0300
 

Modified: trunk/libwww-mechanize-formfiller-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-mechanize-formfiller-perl/debian/compat?rev=33861&op=diff
==============================================================================
--- trunk/libwww-mechanize-formfiller-perl/debian/compat (original)
+++ trunk/libwww-mechanize-formfiller-perl/debian/compat Fri Apr 24 10:00:18 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libwww-mechanize-formfiller-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-mechanize-formfiller-perl/debian/control?rev=33861&op=diff
==============================================================================
--- trunk/libwww-mechanize-formfiller-perl/debian/control (original)
+++ trunk/libwww-mechanize-formfiller-perl/debian/control Fri Apr 24 10:00:18 2009
@@ -1,7 +1,7 @@
 Source: libwww-mechanize-formfiller-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), quilt
+Build-Depends: debhelper (>= 7.0.50), quilt
 Build-Depends-Indep: perl (>= 5.8.8-7), libdata-random-perl (>=0.05),
  libwww-perl, libtest-mockobject-perl, libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>

Modified: trunk/libwww-mechanize-formfiller-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-mechanize-formfiller-perl/debian/rules?rev=33861&op=diff
==============================================================================
--- trunk/libwww-mechanize-formfiller-perl/debian/rules (original)
+++ trunk/libwww-mechanize-formfiller-perl/debian/rules Fri Apr 24 10:00:18 2009
@@ -1,80 +1,12 @@
 #!/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
 
 include /usr/share/quilt/quilt.make
 
-# 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
+%:
+	dh $@
 
-PACKAGE=$(shell dh_listpackages)
+override_dh_auto_configure: $(QUILT_STAMPFN)
+	dh_auto_configure
 
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-
-	touch build-stamp
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -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 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
+override_dh_auto_clean: unpatch
+	dh_auto_clean




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