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

Bug#497351: lintian doesn't emit new-package-should-close-itp-bug when bogus Closes is present



Package: lintian
Version: 1.24.4

>     my $entry = $entries[0];
>     if (@entries == 1 and $entry->Version =~ /-1$/) {
>         tag 'new-package-should-close-itp-bug'
>             unless @{ $entry->Closes };
>     }

The above code is fine, but fails to detect cases like this one:

> $ dpkg-parsechangelog
> Source: foo
> Version: 0.1-1
> Distribution: unstable
> Urgency: low
> Maintainer: John Doe <john@mail.org>
> Date: Fri, 18 Jul 2008 19:26:03 +0200
> Closes: 0
> Changes:
>  foo (0.1-1) unstable; urgency=low
>  .
>    * Initial release (Closes: #0) # there was no previous ITP

Cheers,
-- 
Atomo64 - Raphael

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



Reply to: