Bug#745743: lintian: Report when a Files-Excluded field is specified without a proper copyright-format
Control: tags -1 -patch
On 2014-04-24 19:04, Gunnar Wolf wrote:
> Package: lintian
> Version: 2.5.22.1
> Severity: minor
> Tags: patch
>
> The Files-Excluded field in debian/copyright is used to exclude files
> from our "not-so-pristine" upstream source. It is meant to discard
> non-DFSG files. The field will be ignored by uscan if the copyright
> file is not declared as following the format 1.0.
>
> Note that I have not tested the patch I'm sending, I just somehow hope
> it works ;-)
>
> [...]
Hi Gunnar,
Thanks for the proposed patch and sorry for the late reply.
Unfortunately it does not seem to work at first glance. Mind you, I
only did a very quick test and I might have gotten the test wrong.
Please consider providing a test case for it. On a related note, I
think it would make more sense to move the check to
checks/source-copyright.pm, since it got all the other DEP-5 related
checks (and also because it is a source-package check rather than a
binary-package check).
Thanks for considering.
~Niels
Reply to: