Control: tag -1 + patch
On Sun, 22 Jun 2014 23:12:20 +0300, Niko Tyni wrote:

> 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.

Done in the attached patch:

+  * Fix "hardcodes /usr/lib/perl5":
+    Make debian/libnfqueue-perl.install executable and use $Config{vendorarch}
+    to determine target directory.
+    (Closes: #752350)


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: J.J. Cale: Magnolia
diff -Nru nfqueue-bindings-0.4/debian/changelog nfqueue-bindings-0.4/debian/changelog
--- nfqueue-bindings-0.4/debian/changelog	2013-10-09 13:35:06.000000000 +0200
+++ nfqueue-bindings-0.4/debian/changelog	2014-07-01 17:29:39.000000000 +0200
@@ -1,3 +1,13 @@
+nfqueue-bindings (0.4-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "hardcodes /usr/lib/perl5":
+    Make debian/libnfqueue-perl.install executable and use $Config{vendorarch}
+    to determine target directory.
+    (Closes: #752350)
+
+ -- gregor herrmann <gre...@debian.org>  Tue, 01 Jul 2014 17:22:48 +0200
+
 nfqueue-bindings (0.4-6) unstable; urgency=low
 
   * Revert upstream signature change (Closes: #718894)
diff -Nru nfqueue-bindings-0.4/debian/libnfqueue-perl.install nfqueue-bindings-0.4/debian/libnfqueue-perl.install
--- nfqueue-bindings-0.4/debian/libnfqueue-perl.install	2011-11-21 18:20:13.000000000 +0100
+++ nfqueue-bindings-0.4/debian/libnfqueue-perl.install	2014-07-01 17:25:43.000000000 +0200
@@ -1 +1,4 @@
-usr/lib/perl5
+#!/usr/bin/perl -w
+
+use Config;
+print 'usr/lib/perl5/* ' . substr($Config{vendorarch}, 1) . "\n";

Attachment: signature.asc
Description: Digital Signature

Reply via email to