Control: tag -1 + patch On Thu, 26 Jun 2014 21:06:40 +0300, Niko Tyni wrote:
> Starting with version 5.20.0 (currently in experimental), the Debian
> perl package is changing the "vendorarch" library paths (currently
> /usr/lib/perl5) to include the multiarch triplet and the perl version. See
> #748380 for details.
>
> For this to work, packages containing binary perl modules need to migrate
> from using the hardcoded /usr/lib/perl5 directory to the value of the
> $Config{vendorarch} variable, as defined in the 'Config' module.
Here's a patch using $Config{vendorarch} in debian/rules.
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Vic Chesnutt: Doubting Woman
diff -Nru redland-bindings-1.0.17.1+dfsg/debian/changelog redland-bindings-1.0.17.1+dfsg/debian/changelog
--- redland-bindings-1.0.17.1+dfsg/debian/changelog 2014-06-02 02:48:09.000000000 +0200
+++ redland-bindings-1.0.17.1+dfsg/debian/changelog 2014-07-03 22:12:32.000000000 +0200
@@ -1,3 +1,12 @@
+redland-bindings (1.0.17.1+dfsg-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix "hardcodes /usr/lib/perl5":
+ use $Config{vendorarch} in debian/rules
+ (Closes: #752812)
+
+ -- gregor herrmann <[email protected]> Thu, 03 Jul 2014 22:06:38 +0200
+
redland-bindings (1.0.17.1+dfsg-1) unstable; urgency=medium
* Acknowlege NMU - thanks Christian.
diff -Nru redland-bindings-1.0.17.1+dfsg/debian/rules redland-bindings-1.0.17.1+dfsg/debian/rules
--- redland-bindings-1.0.17.1+dfsg/debian/rules 2014-06-02 02:25:31.000000000 +0200
+++ redland-bindings-1.0.17.1+dfsg/debian/rules 2014-07-03 22:08:35.000000000 +0200
@@ -47,6 +47,9 @@
# Default python
PYDEF= $(shell pyversions -d)
+# Perl vendorarch gets dynamic with 5.20
+PERL_ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
configure: configure-stamp
configure-stamp:
dh_testdir
@@ -112,7 +115,7 @@
cd perl && $(MAKE) install
# Move the pure perl into the right dir
mkdir -p $(CURDIR)/debian/librdf-perl/usr/share/perl5
- mv $(CURDIR)/debian/librdf-perl/usr/lib/perl5/RDF $(CURDIR)/debian/librdf-perl/usr/share/perl5/RDF
+ mv $(CURDIR)/debian/librdf-perl$(PERL_ARCHLIB)/RDF $(CURDIR)/debian/librdf-perl/usr/share/perl5/RDF
cd python; \
for python in $(PYVERS); do \
signature.asc
Description: Digital Signature

