r1931 - packages/libapache-configfile-perl/trunk/debian

Niko Tyni ntyni-guest at costa.debian.org
Sun Jan 15 20:22:20 UTC 2006


Author: ntyni-guest
Date: 2006-01-15 20:22:20 +0000 (Sun, 15 Jan 2006)
New Revision: 1931

Modified:
   packages/libapache-configfile-perl/trunk/debian/changelog
   packages/libapache-configfile-perl/trunk/debian/rules
Log:
Remove empty /usr/lib/perl5


Modified: packages/libapache-configfile-perl/trunk/debian/changelog
===================================================================
--- packages/libapache-configfile-perl/trunk/debian/changelog	2006-01-15 20:14:59 UTC (rev 1930)
+++ packages/libapache-configfile-perl/trunk/debian/changelog	2006-01-15 20:22:20 UTC (rev 1931)
@@ -12,8 +12,9 @@
     + handle lines like 'ClearModuleList', where there's no value for the
       variable. Thanks to Jason Thomas <jason at debian.org> for the patch.
       (Closes: #329154)
+  * Don't install an empty /usr/lib/perl5 directory.
 
- -- Niko Tyni <ntyni at iki.fi>  Sun, 15 Jan 2006 22:12:57 +0200
+ -- Niko Tyni <ntyni at iki.fi>  Sun, 15 Jan 2006 22:21:56 +0200
 
 libapache-configfile-perl (1.18-4) unstable; urgency=low
 

Modified: packages/libapache-configfile-perl/trunk/debian/rules
===================================================================
--- packages/libapache-configfile-perl/trunk/debian/rules	2006-01-15 20:14:59 UTC (rev 1930)
+++ packages/libapache-configfile-perl/trunk/debian/rules	2006-01-15 20:22:20 UTC (rev 1931)
@@ -60,6 +60,11 @@
 install-stamp: build
 	dh_testdir
 	$(MAKE) pure_install PREFIX=$(b)/usr
+
+	#As this is a architecture independent package, we are not supposed to install
+	#stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+	rmdir --ignore-fail-on-non-empty --parents $(b)/usr/lib/perl5
+
 	touch install-stamp
 
 .PHONY: binary binary-arch binary-indep clean




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