r24491 - in /trunk/libdata-serializer-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Aug 22 23:00:08 UTC 2008


Author: gregoa
Date: Fri Aug 22 23:00:03 2008
New Revision: 24491

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24491
Log:
debian/rules: use debhelper 7's fancy dh commands.

Modified:
    trunk/libdata-serializer-perl/debian/changelog
    trunk/libdata-serializer-perl/debian/rules

Modified: trunk/libdata-serializer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-serializer-perl/debian/changelog?rev=24491&op=diff
==============================================================================
--- trunk/libdata-serializer-perl/debian/changelog (original)
+++ trunk/libdata-serializer-perl/debian/changelog Fri Aug 22 23:00:03 2008
@@ -1,5 +1,6 @@
 libdata-serializer-perl (0.48-1) unstable; urgency=low
 
+  [ Rene Mayorga ]
   * New upstream release
   * debian/control 
     + set standards-version to 3.8.0 ( no changes needed )
@@ -7,6 +8,9 @@
     + add myself to uploaders
   * debian/copyright - Add an entry for 
     lib/Data/Serializer/Config/General.pm
+
+  [ gregor herrmann ]
+  * debian/rules: use debhelper 7's fancy dh commands.
 
  -- Rene Mayorga <rmayorga at debian.org.sv>  Fri, 22 Aug 2008 10:58:53 -0600
 

Modified: trunk/libdata-serializer-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-serializer-perl/debian/rules?rev=24491&op=diff
==============================================================================
--- trunk/libdata-serializer-perl/debian/rules (original)
+++ trunk/libdata-serializer-perl/debian/rules Fri Aug 22 23:00:03 2008
@@ -1,18 +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)
@@ -20,41 +6,25 @@
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
+	dh build
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
+	# work around /usr/usr
+	dh install --before dh_auto_install
 	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	dh install --after dh_auto_install
 	touch $@
 
 binary-arch:
-# We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




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