r1866 - packages/libcpan-distnameinfo-perl/trunk/debian

Niko Tyni ntyni-guest at costa.debian.org
Fri Jan 6 17:50:18 UTC 2006


Author: ntyni-guest
Date: 2006-01-06 17:50:18 +0000 (Fri, 06 Jan 2006)
New Revision: 1866

Modified:
   packages/libcpan-distnameinfo-perl/trunk/debian/changelog
   packages/libcpan-distnameinfo-perl/trunk/debian/rules
Log:
remove /usr/lib/perl5 at build time.


Modified: packages/libcpan-distnameinfo-perl/trunk/debian/changelog
===================================================================
--- packages/libcpan-distnameinfo-perl/trunk/debian/changelog	2006-01-06 17:46:34 UTC (rev 1865)
+++ packages/libcpan-distnameinfo-perl/trunk/debian/changelog	2006-01-06 17:50:18 UTC (rev 1866)
@@ -8,8 +8,9 @@
   * Don't ignore the return code of 'make realclean'.
   * Upgrade to Standards-Version 3.6.2. No changes needed.
   * Added myself to Uploaders as well.
+  * Don't install an empty /usr/lib/perl5 directory.
 
- -- Niko Tyni <ntyni at iki.fi>  Fri,  6 Jan 2006 19:45:16 +0200
+ -- Niko Tyni <ntyni at iki.fi>  Fri,  6 Jan 2006 19:49:39 +0200
 
 libcpan-distnameinfo-perl (0.03-1) unstable; urgency=low
 

Modified: packages/libcpan-distnameinfo-perl/trunk/debian/rules
===================================================================
--- packages/libcpan-distnameinfo-perl/trunk/debian/rules	2006-01-06 17:46:34 UTC (rev 1865)
+++ packages/libcpan-distnameinfo-perl/trunk/debian/rules	2006-01-06 17:50:18 UTC (rev 1866)
@@ -44,6 +44,9 @@
 	# Add here commands to install the package into debian/tmp.
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/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 $(TMP)/usr/lib/perl5
 
 # Build architecture-dependent files here.
 binary-arch: build install




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