r23838 - in /trunk/libuniversal-can-perl/debian: changelog rules watch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Tue Aug 5 19:01:58 UTC 2008


Author: gregoa
Date: Tue Aug  5 19:01:55 2008
New Revision: 23838

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

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

Modified: trunk/libuniversal-can-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-can-perl/debian/changelog?rev=23838&op=diff
==============================================================================
--- trunk/libuniversal-can-perl/debian/changelog (original)
+++ trunk/libuniversal-can-perl/debian/changelog Tue Aug  5 19:01:55 2008
@@ -8,6 +8,11 @@
   [ Damyan Ivanov ]
   * [debian/watch] Stop capturing file extension
 
+  [ gregor herrmann ]
+  * Refresh debian/rules, no functional changes; except: don't create
+    .packlist file any more.
+  * debian/watch: use dist-based URL.
+
  -- Damyan Ivanov <dmn at debian.org>  Tue, 06 Nov 2007 11:01:26 +0200
 
 libuniversal-can-perl (1.12-1) unstable; urgency=low

Modified: trunk/libuniversal-can-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-can-perl/debian/rules?rev=23838&op=diff
==============================================================================
--- trunk/libuniversal-can-perl/debian/rules (original)
+++ trunk/libuniversal-can-perl/debian/rules Tue Aug  5 19:01:55 2008
@@ -7,50 +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
@@ -58,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-can-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-can-perl/debian/watch?rev=23838&op=diff
==============================================================================
--- trunk/libuniversal-can-perl/debian/watch (original)
+++ trunk/libuniversal-can-perl/debian/watch Tue Aug  5 19:01:55 2008
@@ -1,3 +1,4 @@
 # format version number, currently 2; this line is compulsory!
-version=2
-http://www.cpan.org/modules/by-module/UNIVERSAL/UNIVERSAL-can-(.*).(?:tar.gz|tar|tgz)
+version=3
+opts=uversionmangle=s/_/./ \
+http://search.cpan.org/dist/UNIVERSAL-can/   .*/UNIVERSAL-can-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)




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