On Fri, Feb 03, 2017 at 12:47:10PM +0000, Carnë Draug wrote:
> Package: dh-make-perl
> Version: 0.93
> Severity: normal
> 
> dh-make-perl creates this weird dependency line if there is
> a dependency on List::Util:
> 
>  libperl5.24:amd64 (>= 1.45) | libscalar-list-utils-perl (>= 1.45) | 
> perl-base (>= 1.45)

Thanks.

This should read either something like

 libscalar-list-utils-perl (>= 1.45) | perl-base (>= 5.25.1)

or alternatively just

 libscalar-list-utils-perl (>= 1.45)

In particular, libperl5.xx is always wrong and should be transformed to
'perl' or 'perl-base' instead, with some version mangling as well.

Looks like Debian::Control::FromCPAN::find_debs_for_modules() needs to
be smarter about newer versions of core modules. Currently it just sees
that it's not in core for the current Perl, and goes ahead to look for
it in the package file lists, without giving any special handling to
the src:perl packages.

Sorry, no patch :)
-- 
Niko

Reply via email to