r12574 - in /trunk/libxml-sax-expat-perl/debian: changelog rules

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Sat Jan 12 07:48:38 UTC 2008


Author: ntyni
Date: Sat Jan 12 07:48:37 2008
New Revision: 12574

URL: http://svn.debian.org/wsvn/?sc=1&rev=12574
Log:
* Get the package name from dh_listpackages output instead of looking at
  the name of the build directory.

Modified:
    trunk/libxml-sax-expat-perl/debian/changelog
    trunk/libxml-sax-expat-perl/debian/rules

Modified: trunk/libxml-sax-expat-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libxml-sax-expat-perl/debian/changelog?rev=12574&op=diff
==============================================================================
--- trunk/libxml-sax-expat-perl/debian/changelog (original)
+++ trunk/libxml-sax-expat-perl/debian/changelog Sat Jan 12 07:48:37 2008
@@ -27,6 +27,8 @@
   [ Niko Tyni ]
   * Set SKIP_SAX_INSTALL=1 to avoid trying to modify XML::SAX configuration
     at build time.
+  * Get the package name from dh_listpackages output instead of looking at
+    the name of the build directory.
 
  -- Roberto C. Sanchez <roberto at debian.org>  Thu, 10 Jan 2008 22:01:36 -0500
 

Modified: trunk/libxml-sax-expat-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libxml-sax-expat-perl/debian/rules?rev=12574&op=diff
==============================================================================
--- trunk/libxml-sax-expat-perl/debian/rules (original)
+++ trunk/libxml-sax-expat-perl/debian/rules Sat Jan 12 07:48:37 2008
@@ -8,7 +8,7 @@
 # This is the debhelper compatibility version to use.
 # export DH_COMPAT=4
 
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+PACKAGE=$(shell dh_listpackages)
 
 build:
 	dh_testdir




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