[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#708178: lintian: Improve the version information of packages bundled with the Perl core



On Wed, May 29, 2013 at 08:11:30PM +0200, Niels Thykier wrote:
> On 2013-05-13 21:25, Niko Tyni wrote:
> > Package: lintian
> > Version: 2.5.10.5 
> > Tags: patch
> > X-Debbugs-Cc: perl@packages.debian.org

> > It turns out that private/refresh-perl-provides is rather simple minded
> > about the mapping between CPAN and Debian version numbers. I expect this
> > has caused a number of false negatives.
> > 
> > We've since tackled very similar issues in the maintainer tests of the
> > perl source package, where we check that the versioned Breaks of the
> > binary packages make sense. The meat of the attached patch set is based
> > on this work.

> I have applied the patches, but now we are getting incorrect results for
> libautodie-perl.  The patched version will emit:
> 
>   libautodie-perl 2.1001
> 
> However, the newest version of libautodie-perl is 2.18 (which was
> released earlier this month, so it is definitely not in Perl 5.14).

Thanks for noticing this.

I see we've got a few special cases in the perl maintainer tests (see
the %ok hash in
 http://anonscm.debian.org/gitweb/?p=perl/perl.git;a=blob;f=debian/t/control.t;hb=HEAD
), one of which is to map libautodie-perl version number 2.1001 to 2.10.01.

I don't think the others are necessary for the lintian use case, but
I'm not quite sure right now.  I'm unfortunately short on time so no
patch. (Sorry!)
-- 
Niko


Reply to: