r11974 - in /trunk/libtext-csv-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Fri Jan 4 00:17:21 UTC 2008
Author: gregoa-guest
Date: Fri Jan 4 00:17:21 2008
New Revision: 11974
URL: http://svn.debian.org/wsvn/?sc=1&rev=11974
Log:
debian/rules:
- delete /usr/share/perl5 only if it exists
- remove unused variable 'version'
- let build-stamp depend on $(DPATCH_STAMPFN) instead of patch
Modified:
trunk/libtext-csv-perl/debian/changelog
trunk/libtext-csv-perl/debian/rules
Modified: trunk/libtext-csv-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtext-csv-perl/debian/changelog?rev=11974&op=diff
==============================================================================
--- trunk/libtext-csv-perl/debian/changelog (original)
+++ trunk/libtext-csv-perl/debian/changelog Fri Jan 4 00:17:21 2008
@@ -3,6 +3,10 @@
* New upstream release.
* Set Standards-Version to 3.7.3 (no changes required).
* debian/watch: use dist-based URL.
+ * debian/rules:
+ - delete /usr/share/perl5 only if it exists
+ - remove unused variable 'version'
+ - let build-stamp depend on $(DPATCH_STAMPFN) instead of patch
-- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 04 Jan 2008 01:09:42 +0100
Modified: trunk/libtext-csv-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtext-csv-perl/debian/rules?rev=11974&op=diff
==============================================================================
--- trunk/libtext-csv-perl/debian/rules (original)
+++ trunk/libtext-csv-perl/debian/rules Fri Jan 4 00:17:21 2008
@@ -18,11 +18,8 @@
package := $(firstword $(shell dh_listpackages))
prefix := $(CURDIR)/debian/$(package)/usr
-version := $(shell dpkg-parsechangelog | \
- sed -ne 's/^Version: *\([0-9]\+:\)*//p')
-
build: build-stamp
-build-stamp: patch
+build-stamp: $(DPATCH_STAMPFN)
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor PERL=$(PERL)
$(MAKE) LD_RUN_PATH= OPTIMIZE="$(CFLAGS)"
@@ -41,7 +38,7 @@
dh_installdirs
$(MAKE) install PREFIX=$(prefix)
- rmdir -p --ignore-fail-on-non-empty $(prefix)/share/perl5
+ [ ! -d $(prefix)/share/perl5 ] || rmdir --parents --ignore-fail-on-non-empty $(prefix)/share/perl5
dh_installdocs README
dh_installexamples examples/*
More information about the Pkg-perl-cvs-commits
mailing list