Control: tag -1 + patch On Thu, 26 Jun 2014 21:04:03 +0300, Niko Tyni wrote:
> This package fails to build with perl_5.20.0-1 from experimental: > > dh_install --sourcedir=debian/tmp --list-missing > cp: cannot stat 'debian/tmp/usr/lib/perl5/auto/Cluster/CCS/CCS.so': No such > file or directory > dh_install: cp -a debian/tmp/usr/lib/perl5/auto/Cluster/CCS/CCS.so > debian/libccs-perl//usr/lib/perl5/auto/Cluster/CCS/ returned exit code 1 > make[1]: *** [override_dh_install] Error 2 > debian/rules:29: 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}. 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: Dire Straits: One World
diff -Nru redhat-cluster-3.1.8/debian/changelog redhat-cluster-3.1.8/debian/changelog --- redhat-cluster-3.1.8/debian/changelog 2013-01-11 19:40:29.000000000 +0100 +++ redhat-cluster-3.1.8/debian/changelog 2014-07-06 16:59:53.000000000 +0200 @@ -1,3 +1,13 @@ +redhat-cluster (3.1.8-1.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix "hardcodes /usr/lib/perl5": + make debian/libccs-perl.install executable and use $Config{vendorarch} to + get dynamic path + (Closes: #752811) + + -- gregor herrmann <gre...@debian.org> Sun, 06 Jul 2014 16:56:36 +0200 + redhat-cluster (3.1.8-1.1) unstable; urgency=low * Non-maintainer upload. diff -Nru redhat-cluster-3.1.8/debian/libccs-perl.install redhat-cluster-3.1.8/debian/libccs-perl.install --- redhat-cluster-3.1.8/debian/libccs-perl.install 2013-01-11 19:40:29.000000000 +0100 +++ redhat-cluster-3.1.8/debian/libccs-perl.install 2014-07-06 16:59:18.000000000 +0200 @@ -1,3 +1,9 @@ -usr/lib/perl5/auto/Cluster/CCS/CCS.so -usr/lib/perl5/Cluster/CCS.pm -usr/share/man/man3/*CCS.3pm* +#!/usr/bin/perl -w + +use Config; + +my $vendorarch = substr($Config{vendorarch}, 1); + +print "$vendorarch/auto/Cluster/CCS/CCS.so\n"; +print "$vendorarch/Cluster/CCS.pm\n"; +print "usr/share/man/man3/*CCS.3pm*\n";
signature.asc
Description: Digital Signature