Control: tag -1 + patch On Thu, 26 Jun 2014 20:27:13 +0300, Niko Tyni wrote:
> This package fails to build with perl_5.20.0-1 from experimental: > > dh_install: libow-perl missing files (usr/lib/perl*/OW.pm), aborting > make[1]: *** [override_dh_install] Error 255 > debian/rules:72: recipe for target 'override_dh_install' failed > make[1]: Leaving directory '/«PKGBUILDDIR»' > 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}. Implemented in and tested with 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: Status Quo: Mean Girl
diff -Nru owfs-2.8p15/debian/changelog owfs-2.8p15/debian/changelog --- owfs-2.8p15/debian/changelog 2012-06-04 01:11:29.000000000 +0200 +++ owfs-2.8p15/debian/changelog 2014-07-06 19:47:22.000000000 +0200 @@ -1,3 +1,13 @@ +owfs (2.8p15-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix "hardcodes /usr/lib/perl5": + make debian/libow-perl.install executable and use $Config{vendorarch} + there + (Closes: #752804) + + -- gregor herrmann <gre...@debian.org> Sun, 06 Jul 2014 19:36:31 +0200 + owfs (2.8p15-1) unstable; urgency=low * New upstream release (thank Iztok Jeras for the notice) diff -Nru owfs-2.8p15/debian/libow-perl.install owfs-2.8p15/debian/libow-perl.install --- owfs-2.8p15/debian/libow-perl.install 2012-06-04 01:11:29.000000000 +0200 +++ owfs-2.8p15/debian/libow-perl.install 2014-07-06 19:44:56.000000000 +0200 @@ -1,4 +1,5 @@ -usr/lib/perl*/OW.pm -usr/lib/perl*/auto/OW/ -usr/share/man/man3/owperl.3 +#!/usr/bin/perl -w +use Config; +print substr($Config{vendorarch}, 1) . "\n"; +print "usr/share/man/man3/owperl.3\n";
signature.asc
Description: Digital Signature