r11424 - in /trunk/libtest-class-perl/debian: changelog control rules

gwolf at users.alioth.debian.org gwolf at users.alioth.debian.org
Wed Dec 19 03:09:14 UTC 2007


Author: gwolf
Date: Wed Dec 19 03:09:14 2007
New Revision: 11424

URL: http://svn.debian.org/wsvn/?sc=1&rev=11424
Log:
Several changes to bring the package closer to the group's common practice

Modified:
    trunk/libtest-class-perl/debian/changelog
    trunk/libtest-class-perl/debian/control
    trunk/libtest-class-perl/debian/rules

Modified: trunk/libtest-class-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtest-class-perl/debian/changelog?rev=11424&op=diff
==============================================================================
--- trunk/libtest-class-perl/debian/changelog (original)
+++ trunk/libtest-class-perl/debian/changelog Wed Dec 19 03:09:14 2007
@@ -1,4 +1,4 @@
-libtest-class-perl (0.26-1) UNRELEASED; urgency=low
+libtest-class-perl (0.26-1) unstable; urgency=low
 
   [Gregor Herrmann]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -10,8 +10,14 @@
   * New upstream release
   * Added myself as an uploader
   * Updated dh compat level to 5
+  * Bumped up standards-version to 3.7.3
+  * Build-depended on dpatch, but was not used - Off it goes!
+  * Reorganized debian/rules to be more in line with our group\'s common
+    practices
+  * Moved libmodule-build-perl from b-d-i to b-d as it is required for
+    clean
 
- -- Gunnar Wolf <gwolf at debian.org>  Tue, 18 Dec 2007 20:39:54 -0600
+ -- Gunnar Wolf <gwolf at debian.org>  Tue, 18 Dec 2007 21:13:28 -0600
 
 libtest-class-perl (0.24-1) unstable; urgency=low
 

Modified: trunk/libtest-class-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libtest-class-perl/debian/control?rev=11424&op=diff
==============================================================================
--- trunk/libtest-class-perl/debian/control (original)
+++ trunk/libtest-class-perl/debian/control Wed Dec 19 03:09:14 2007
@@ -3,9 +3,9 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jay Bonci <jaybonci at debian.org>, Gunnar Wolf <gwolf at debian.org>
-Build-Depends: debhelper (>> 5.0), dpatch
-Build-Depends-Indep: perl (>= 5.6.0-16), libtest-simple-perl, libtest-differences-perl, libtest-exception-perl, libio-string-perl, libmodule-build-perl, libdevel-symdump-perl
-Standards-Version: 3.7.2.2
+Build-Depends: debhelper (>> 5.0), libmodule-build-perl
+Build-Depends-Indep: perl (>= 5.6.0-16), libtest-simple-perl, libtest-differences-perl, libtest-exception-perl, libio-string-perl, libdevel-symdump-perl
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Test-Class/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-class-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-class-perl/

Modified: trunk/libtest-class-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtest-class-perl/debian/rules?rev=11424&op=diff
==============================================================================
--- trunk/libtest-class-perl/debian/rules (original)
+++ trunk/libtest-class-perl/debian/rules Wed Dec 19 03:09:14 2007
@@ -8,29 +8,45 @@
 # This is the debhelper compatibility version to use.
 #export DH_COMPAT=4
 
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
-SHAREDIR=$(CURDIR)/debian/$(PACKAGE)/usr/share/$(PACKAGE)
-build: 
+# 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-stamp
+build-stamp:
 	dh_testdir
 	# Add here commands to compile the package.
-	perl Build.PL installdirs=vendor
+	$(PERL) Build.PL installdirs=vendor
+	$(PERL) Build
+
+	touch build-stamp
+
 clean: 
 	dh_testdir
 	dh_testroot
 
-	[ ! -f Build ] || ./Build clean
-	rm -rf ./Build _build Makefile
-	dh_clean
+	dh_clean build-stamp install-stamp
+
+	# Add commands to clean up after the build process here
+	[ ! -f Build ] || $(PERL) Build distclean
 
 install:
+install-stamp:
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
 	
-	./Build test
-	./Build install destdir=$(CURDIR)/debian/$(PACKAGE)
-	-find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
+
+	touch install-stamp
 
 binary-arch:;
 binary-indep: build install
@@ -39,8 +55,6 @@
 	dh_installdocs
 	dh_installman
 	dh_installchangelogs Changes
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb




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