r11863 - in /trunk/libvorbis-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Dec 30 18:39:02 UTC 2007


Author: gregoa-guest
Date: Sun Dec 30 18:39:01 2007
New Revision: 11863

URL: http://svn.debian.org/wsvn/?sc=1&rev=11863
Log:
debian/rules: remove /usr/share/perl5 only if it exists.

Modified:
    trunk/libvorbis-perl/debian/changelog
    trunk/libvorbis-perl/debian/rules

Modified: trunk/libvorbis-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libvorbis-perl/debian/changelog?rev=11863&op=diff
==============================================================================
--- trunk/libvorbis-perl/debian/changelog (original)
+++ trunk/libvorbis-perl/debian/changelog Sun Dec 30 18:39:01 2007
@@ -4,8 +4,7 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
-  * debian/rules: separate "rmdir .. /usr/share/perl5" to make later
-    substitution easier.
+  * debian/rules: remove /usr/share/perl5 only if it exists.
 
   [ Frank Lichtenheld ]
   * debian/rules: leave nostrip support to dh_strip

Modified: trunk/libvorbis-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libvorbis-perl/debian/rules?rev=11863&op=diff
==============================================================================
--- trunk/libvorbis-perl/debian/rules (original)
+++ trunk/libvorbis-perl/debian/rules Sun Dec 30 18:39:01 2007
@@ -52,10 +52,10 @@
 	# is broken (does not build) - We remove it.
 	rm -f $(TMP)/usr/bin/pogg
 	rm -f $(TMP)/usr/share/man/man1/pogg.1p
+	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
 	rmdir --ignore-fail-on-non-empty \
 	  $(TMP)/usr/bin \
 	  $(TMP)/usr/share/man/man1
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
 
 # Build architecture-independent files here.
 binary-indep: build install




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