[debhelper-devel] Bug#751684: dh_perl: Add perlapi-* dependency on packages installed to $Config{vendorarch}

Niko Tyni ntyni at debian.org
Sun Jun 29 07:41:45 UTC 2014


tag 751684 patch
thanks

On Sun, Jun 15, 2014 at 07:51:57PM +0200, gregor herrmann wrote:
> On Sun, 15 Jun 2014 18:47:44 +0300, Niko Tyni wrote:
> 
> > There's a pending Perl policy change discussed in #750017 that requires
> > the handful of packages in the archive that install nonbinary Perl modules
> > into /usr/lib/perl5 (or, more generally, $Config{vendorarch} to add a
> > perlapi-* dependency. The attached mostly untested patch implements this
> > in dh_perl.

> I've tested the patch now, and it didn't work for the first package I
> tried (libalien-wxwidgets-perl):
> 
> The regexp does not match, $File::Find::dir contains subdirectories
> (debian/libalien-wxwidgets-perl/usr/lib/x86_64-linux-gnu/perl5/5.20/Alien
> etc.)

Thanks! Updated patch attached.

> I've now tested this updated patch with
> - 3 of the "special" packages mentioned in #750017
>   (after removing the manual perlapi-* stuff from d/rules)
> - 3 random arch:any packages, and
> - 3 random arch:all packages
> 
> and haven't seen anything unexpected.

I've also tested it now, with both Perl 5.18 and 5.20, and
it's all looking good to me. Tagging accordingly.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-perlapi-dependency-on-packages-installed-to-Conf.patch
Type: text/x-diff
Size: 1645 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20140629/664e46bd/attachment-0001.patch>


More information about the debhelper-devel mailing list