r23834 - in /trunk/libtemplate-plugin-textile2-perl/debian: changelog rules watch
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Tue Aug 5 16:49:21 UTC 2008
Author: gregoa
Date: Tue Aug 5 16:49:19 2008
New Revision: 23834
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23834
Log:
* Refresh debian/rules, no functional changes; except: don't create
.packlist file any more.
* debian/watch: use dist-based URL.
Modified:
trunk/libtemplate-plugin-textile2-perl/debian/changelog
trunk/libtemplate-plugin-textile2-perl/debian/rules
trunk/libtemplate-plugin-textile2-perl/debian/watch
Modified: trunk/libtemplate-plugin-textile2-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtemplate-plugin-textile2-perl/debian/changelog?rev=23834&op=diff
==============================================================================
--- trunk/libtemplate-plugin-textile2-perl/debian/changelog (original)
+++ trunk/libtemplate-plugin-textile2-perl/debian/changelog Tue Aug 5 16:49:19 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:32:13 +0200
Modified: trunk/libtemplate-plugin-textile2-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtemplate-plugin-textile2-perl/debian/rules?rev=23834&op=diff
==============================================================================
--- trunk/libtemplate-plugin-textile2-perl/debian/rules (original)
+++ trunk/libtemplate-plugin-textile2-perl/debian/rules Tue Aug 5 16:49:19 2008
@@ -14,47 +14,34 @@
# 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
-
- # Add commands to compile the package here
$(PERL) Build.PL installdirs=vendor
$(PERL) Build
$(PERL) Build test
-
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
- dh_clean build-stamp install-stamp
-
- # Add commands to clean up after the build process here
- [ ! -f Build ] || $(PERL) Build distclean
-
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(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
@@ -69,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/libtemplate-plugin-textile2-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtemplate-plugin-textile2-perl/debian/watch?rev=23834&op=diff
==============================================================================
--- trunk/libtemplate-plugin-textile2-perl/debian/watch (original)
+++ trunk/libtemplate-plugin-textile2-perl/debian/watch Tue Aug 5 16:49:19 2008
@@ -1,2 +1,2 @@
version=3
-http://www.cpan.org/modules/by-module/Template/Template-Plugin-Textile2-([\d\.]+)\.tar\.gz
+http://search.cpan.org/dist/Template-Plugin-Textile2/ .*/Template-Plugin-Textile2-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
More information about the Pkg-perl-cvs-commits
mailing list