]> git.donarmstrong.com Git - debian/debian-policy.git/commit
All packages using Perl vendorarch directory need a perlapi-* dependency
authorNiko Tyni <ntyni@debian.org>
Fri, 30 May 2014 11:10:22 +0000 (14:10 +0300)
committerBill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
Fri, 13 Jun 2014 19:38:50 +0000 (21:38 +0200)
commitb8cb320ce75caacdb3b99d0ffdc8701c0bdcc2c7
tree3580709c4c291210d72c0a76bcb9131e8f6b3e00
parent714d49be7bce86bc1b913c243bdb744c42d341e3
All packages using Perl vendorarch directory need a perlapi-* dependency

Having $Config{vendorarch} change between Perl major versions (for
multiarch or other reasons) implies that packages using it need a strict
dependency on those versions of perl-base that have a compatible search
path (@INC).

The vast majority of these packages are binary ("XS") modules, where we
already require a dependency on the virtual package perlapi-*, provided
by perl-base. The name of this virtual package will change when the
interface between the Perl interpreter and the modules changes.

If we consider @INC part of that interface, we can use the existing
mechanism also for the few nonbinary modules using $Config{vendorarch}.
This is a new requirement that currently affects six packages in
the archive.
perl-policy.sgml