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

Bug#498096: lintian: doesn't ignore udebs on no-standards-version-field



On Sat, Sep 06, 2008 at 09:26:47PM -0500, Raphael Geissert wrote:
> checks/standards-version:
> > # udebs aren't required to conform to policy, so they don't need
> > # Standards-Version. (If they have it, though, it should be valid.)
> > my $version = $info->field('standards-version');
> > if (not defined $version) {
> >     tag 'no-standards-version-field' unless $type eq 'udeb';
> >     return 0;
> > }
> 
> right, but...
> 
> checks/standards-version.desc:
> > Check-Script: standards-version
> > Author: Christian Schwarz <schwarz@debian.org>
> > Abbrev: std
> > Type: source
> > Unpack-Level: 1
> 
> $type will always be 'source', never 'udeb'.
> 
> If checks/standards-version knew about the package's section it could exclude 
> those that belong to 'debian-installer'.

Hmm, that is indeed a bug. I would suggest not emitting the tag if
all binary packages have the Package-Type set to udeb.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: