r10783 - in /trunk/libparams-validate-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Dec 3 20:17:06 UTC 2007


Author: gregoa-guest
Date: Mon Dec  3 20:17:06 2007
New Revision: 10783

URL: http://svn.debian.org/wsvn/?sc=1&rev=10783
Log:
  - use dh_listpackages instead of pwd/sed to get package name

Modified:
    trunk/libparams-validate-perl/debian/changelog
    trunk/libparams-validate-perl/debian/rules

Modified: trunk/libparams-validate-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libparams-validate-perl/debian/changelog?rev=10783&op=diff
==============================================================================
--- trunk/libparams-validate-perl/debian/changelog (original)
+++ trunk/libparams-validate-perl/debian/changelog Mon Dec  3 20:17:06 2007
@@ -17,6 +17,7 @@
     - explicitly remove empty directory /usr/share/perl5 instead of trying to find any
     - move tests to build target
     - use PREFIX and DESTDIR in call to make install
+    - use dh_listpackages instead of pwd/sed to get package name
   * Add libreadonly-xs-perl, libreadonly-perl, libtest-pod-perl to build
     dependencies in order to enable additional tests.
     (Note: I'm not adding libtest-pod-coverage-perl at the moment due to

Modified: trunk/libparams-validate-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libparams-validate-perl/debian/rules?rev=10783&op=diff
==============================================================================
--- trunk/libparams-validate-perl/debian/rules (original)
+++ trunk/libparams-validate-perl/debian/rules Mon Dec  3 20:17:06 2007
@@ -5,7 +5,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+PACKAGE=$(shell dh_listpackages)
 
 build: build-stamp
 build-stamp:




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