Bug#556789: perl: missing provides/replaces/conflicts for libfile-spec-perl
Niko Tyni
ntyni at debian.org
Sat Nov 21 19:28:44 UTC 2009
On Tue, Nov 17, 2009 at 10:22:49PM +0200, Niko Tyni wrote:
> Package: perl
> Version: 5.10.1-7
>
> Not sure why I haven't noticed this earlier, but I see we have the
> dual-lived PathTools in the archive as libfile-spec-perl. It's at 3.31
> while perl 5.10.1 has 3.30.
>
> The changes from 3.30 don't look very important for Debian, so a valid
> option would be to drop the separate package altogether from squeeze.
> In any case, perl should have the usual conflicts+replaces+provides list.
I'm not adding these for 5.10.1-8 because there's a slight complication:
part of the upstream PathTools distribution is in perl-base (Cwd,
File::Spec, File::Spec::Unix) and the rest is in perl-modules
(File::Spec::VMS and the like.)
I suppose perl-modules should therefore be the one that Provides and Replaces
libfile-spec-perl because the functionality isn't complete with just perl-base.
OTOH, I think perl-base should conflict with any older libfile-spec-perl
packages, otherwise an older Cwd from libfile-spec-perl will override
a newer one in perl-base.
This would read
Package: perl-base
Conflicts: libfile-spec-perl (<< 3.30)
Package: perl-modules
Conflicts: libfile-spec-perl (<< 3.30)
Provides: libfile-spec-perl
Replaces: libfile-spec-perl
but I'm not quite confident this will do the right thing on upgrades,
so I'll need to test that properly first.
Input welcome,
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list