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

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



Package: lintian
Version: 1.24.4

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'.

Example:
$ lintian --show-overrides -I -E ../tzsetup_0.22.dsc
O: tzsetup source: no-standards-version-field
I: tzsetup source: build-depends-without-arch-dep tzdata
I: tzsetup source: build-depends-without-arch-dep iso-codes

$ g -E 'udeb|Section' debian/control
Section: debian-installer
Package: tzsetup-udeb
XC-Package-Type: udeb

Cheers,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: