r5615 - in /packages/libmarc-charset-perl/trunk: ./ debian/changelog debian/rules

ntyni-guest at users.alioth.debian.org ntyni-guest at users.alioth.debian.org
Sun Jun 17 19:05:49 UTC 2007


Author: ntyni-guest
Date: Sun Jun 17 19:05:49 2007
New Revision: 5615

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=5615
Log:
 r328 at delila:  niko | 2007-06-17 21:37:17 +0300
 use /usr/lib instead of /usr/share for the arch:any data.

Modified:
    packages/libmarc-charset-perl/trunk/   (props changed)
    packages/libmarc-charset-perl/trunk/debian/changelog
    packages/libmarc-charset-perl/trunk/debian/rules

Propchange: packages/libmarc-charset-perl/trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Sun Jun 17 19:05:49 2007
@@ -1,1 +1,1 @@
-644f4d3c-074d-41c4-b940-ef3e0d89a3c7:/local/libmarc-charset-perl-trunk:327
+644f4d3c-074d-41c4-b940-ef3e0d89a3c7:/local/libmarc-charset-perl-trunk:328

Modified: packages/libmarc-charset-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmarc-charset-perl/trunk/debian/changelog?rev=5615&op=diff
==============================================================================
--- packages/libmarc-charset-perl/trunk/debian/changelog (original)
+++ packages/libmarc-charset-perl/trunk/debian/changelog Sun Jun 17 19:05:49 2007
@@ -1,9 +1,11 @@
-libmarc-charset-perl (0.97-2) unstable; urgency=low
+libmarc-charset-perl (0.97-2) unstable; urgency=medium
 
-  * Set Architecture to any, since the package contains architecture-
+  * Set Architecture to any, since the package contains architecture
     dependent SDBM files. (Closes: #429030)
+  * Accordingly, install the SDBM files under /usr/lib instead of /usr/share.
+  * Urgency set to medium because of an RC bug fix.
 
- -- Niko Tyni <ntyni at iki.fi>  Sun, 17 Jun 2007 21:13:11 +0300
+ -- Niko Tyni <ntyni at iki.fi>  Sun, 17 Jun 2007 21:35:01 +0300
 
 libmarc-charset-perl (0.97-1) unstable; urgency=low
 

Modified: packages/libmarc-charset-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmarc-charset-perl/trunk/debian/rules?rev=5615&op=diff
==============================================================================
--- packages/libmarc-charset-perl/trunk/debian/rules (original)
+++ packages/libmarc-charset-perl/trunk/debian/rules Sun Jun 17 19:05:49 2007
@@ -50,9 +50,8 @@
 	$(MAKE) test
 	$(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:
+	# The perl modules are architecture-independent, so they go in
+	# /usr/share. Remove the empty /usr/lib/perl5 created by MakeMaker.
 	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 
 	touch install-stamp
@@ -69,6 +68,16 @@
 	dh_installdocs README
 	dh_installchangelogs Changes
 	dh_perl
+
+	# Move the architecture-dependent SDBM files under /usr/lib
+	dh_installdirs usr/lib/$(PACKAGE)
+	mv $(TMP)/usr/share/perl5/MARC/Charset/Table.dir $(TMP)/usr/lib/$(PACKAGE)
+	mv $(TMP)/usr/share/perl5/MARC/Charset/Table.pag $(TMP)/usr/lib/$(PACKAGE)
+
+	# and make symlinks in /usr/share/perl5 instead.
+	dh_link usr/lib/$(PACKAGE)/Table.dir usr/share/perl5/MARC/Charset/Table.dir
+	dh_link usr/lib/$(PACKAGE)/Table.pag usr/share/perl5/MARC/Charset/Table.pag
+
 	dh_link
 	dh_strip
 	dh_compress




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