r23840 - in /trunk/libuniversal-isa-perl/debian: changelog rules watch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Tue Aug 5 19:15:32 UTC 2008


Author: gregoa
Date: Tue Aug  5 19:15:27 2008
New Revision: 23840

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23840
Log:
* Refresh debian/rules, no functional changes; except: don't create
  .packlist file any more.
* debian/watch: use dist-based URL.

Modified:
    trunk/libuniversal-isa-perl/debian/changelog
    trunk/libuniversal-isa-perl/debian/rules
    trunk/libuniversal-isa-perl/debian/watch

Modified: trunk/libuniversal-isa-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/debian/changelog?rev=23840&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/debian/changelog (original)
+++ trunk/libuniversal-isa-perl/debian/changelog Tue Aug  5 19:15:27 2008
@@ -3,6 +3,9 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
+  * Refresh debian/rules, no functional changes; except: don't create
+    .packlist file any more.
+  * debian/watch: use dist-based URL.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:33:06 +0200
 

Modified: trunk/libuniversal-isa-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/debian/rules?rev=23840&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/debian/rules (original)
+++ trunk/libuniversal-isa-perl/debian/rules Tue Aug  5 19:15:27 2008
@@ -7,49 +7,48 @@
 # 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
-PACKAGE=$(shell dh_listpackages)
 
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
 	dh_testdir
 	$(PERL) Build.PL installdirs=vendor
-	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
-	touch build-stamp
+	$(PERL) Build
+	$(PERL) Build test
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	[ ! -f Build ] || $(PERL) Build distclean
 	dh_clean build-stamp install-stamp
+	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	$(PERL) Build test
-	$(PERL) Build install destdir=$(TMP)
-	touch install-stamp
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	touch $@
 
 binary-arch:
-# We have nothing to do by default.
+# 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 Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -57,8 +56,5 @@
 	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
+.PHONY: build clean binary-indep binary-arch binary install

Modified: trunk/libuniversal-isa-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-isa-perl/debian/watch?rev=23840&op=diff
==============================================================================
--- trunk/libuniversal-isa-perl/debian/watch (original)
+++ trunk/libuniversal-isa-perl/debian/watch Tue Aug  5 19:15:27 2008
@@ -1,2 +1,3 @@
 version=3
-http://www.cpan.org/modules/by-module/UNIVERSAL/UNIVERSAL-isa-([\d\.]+)\.tar\.gz
+opts=uversionmangle=s/_/./ \
+http://search.cpan.org/dist/UNIVERSAL-isa/   .*/UNIVERSAL-isa-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$




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