r16634 - in /trunk/libtie-array-sorted-perl/debian: changelog control rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Thu Mar 6 16:51:00 UTC 2008


Author: gregoa-guest
Date: Thu Mar  6 16:51:00 2008
New Revision: 16634

URL: http://svn.debian.org/wsvn/?sc=1&rev=16634
Log:
* debian/rules: update inspired by dh-make-perl's fine templates.
* debian/control:
  - add libtest-pod-perl, libtest-pod-coverage-perl to build dependencies
    to enable additional tests
  - add /me to Uploaders

Modified:
    trunk/libtie-array-sorted-perl/debian/changelog
    trunk/libtie-array-sorted-perl/debian/control
    trunk/libtie-array-sorted-perl/debian/rules

Modified: trunk/libtie-array-sorted-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtie-array-sorted-perl/debian/changelog?rev=16634&op=diff
==============================================================================
--- trunk/libtie-array-sorted-perl/debian/changelog (original)
+++ trunk/libtie-array-sorted-perl/debian/changelog Thu Mar  6 16:51:00 2008
@@ -6,8 +6,13 @@
   * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467763).
   * debian/watch: use dist-based URL.
   * Set Standards-Version to 3.7.3 (no changes).
+  * debian/rules: update inspired by dh-make-perl's fine templates.
+  * debian/control:
+    - add libtest-pod-perl, libtest-pod-coverage-perl to build dependencies
+      to enable additional tests
+    - add /me to Uploaders
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Thu, 06 Mar 2008 17:46:51 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Thu, 06 Mar 2008 17:49:50 +0100
 
 libtie-array-sorted-perl (1.41-1) unstable; urgency=low
 

Modified: trunk/libtie-array-sorted-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libtie-array-sorted-perl/debian/control?rev=16634&op=diff
==============================================================================
--- trunk/libtie-array-sorted-perl/debian/control (original)
+++ trunk/libtie-array-sorted-perl/debian/control Thu Mar  6 16:51:00 2008
@@ -2,9 +2,11 @@
 Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Gunnar Wolf <gwolf at debian.org>
+Uploaders: Gunnar Wolf <gwolf at debian.org>,
+ gregor herrmann <gregor+debian at comodo.priv.at>
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: perl (>= 5.6.0-16), perl-modules
+Build-Depends-Indep: perl (>= 5.6.0-16), perl-modules,
+ libtest-pod-perl, libtest-pod-coverage-perl
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Tie-Array-Sorted/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtie-array-sorted-perl/

Modified: trunk/libtie-array-sorted-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtie-array-sorted-perl/debian/rules?rev=16634&op=diff
==============================================================================
--- trunk/libtie-array-sorted-perl/debian/rules (original)
+++ trunk/libtie-array-sorted-perl/debian/rules Thu Mar  6 16:51:00 2008
@@ -1,48 +1,70 @@
 #!/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
 
-PERL ?= /usr/bin/perl
-package = $(shell dh_listpackages)
+# 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
+
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
-	touch build-stamp
+	$(MAKE) test
+
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
+
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean build-stamp
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs
 
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/$(package)
-	[ ! -d debian/$(package)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose debian/$(package)/usr/lib/perl5
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -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_installdocs
 	dh_installchangelogs Changes
-	dh_installdocs
-	dh_link
+	dh_perl
 	dh_compress
 	dh_fixperms
-	dh_perl
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-binary-arch: build install
+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 install
+.PHONY: build clean binary-indep binary-arch binary




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