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 <[EMAIL PROTECTED]>
> 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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to