Control: tag -1 + patch On Wed, 25 Jun 2014 23:32:56 +0300, Niko Tyni wrote:
> This package fails to build with perl_5.20.0-1 from experimental:
>
> dh_install -a -O--parallel
> cp: cannot stat 'debian/tmp/usr/lib/perl5/Net/Oping.pm': No such file or
> directory
> dh_install: cp -a debian/tmp/usr/lib/perl5/Net/Oping.pm
> debian/libnet-oping-perl//usr/lib/perl5/Net/ returned exit code 1
> make: *** [binary-arch] Error 2
>
> One solution for this might be an executable debhelper install file
> (available with debhelper compat level 9) expanding $Config{vendorarch}.
Done in the attached patch.
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: Rolling Stones: Catfish
diff -Nru liboping-1.6.2/debian/changelog liboping-1.6.2/debian/changelog
--- liboping-1.6.2/debian/changelog 2014-05-27 18:02:54.000000000 +0200
+++ liboping-1.6.2/debian/changelog 2014-07-04 17:56:30.000000000 +0200
@@ -1,3 +1,13 @@
+liboping (1.6.2-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix "hardcodes /usr/lib/perl5":
+ use executable d/libnet-oping-perl.install file, expanding paths with
+ $Config{vendorarch}.
+ (Closes: #752710)
+
+ -- gregor herrmann <[email protected]> Fri, 04 Jul 2014 17:50:15 +0200
+
liboping (1.6.2-6) unstable; urgency=medium
* build dependency on pkg-config (closes: 749058)
diff -Nru liboping-1.6.2/debian/libnet-oping-perl.install liboping-1.6.2/debian/libnet-oping-perl.install
--- liboping-1.6.2/debian/libnet-oping-perl.install 2014-05-27 18:02:54.000000000 +0200
+++ liboping-1.6.2/debian/libnet-oping-perl.install 2014-07-04 17:54:18.000000000 +0200
@@ -1,4 +1,4 @@
-usr/lib/perl5/Net/Oping.pm
-usr/lib/perl5/auto/Net/Oping/Oping.bs
-usr/lib/perl5/auto/Net/Oping/Oping.so
-usr/share/man/man3/*.3pm
+#!/usr/bin/perl -w
+use Config;
+print substr($Config{vendorarch}, 1) . "\n";
+print "usr/share/man/man3/*.3pm" . "\n";
signature.asc
Description: Digital Signature

