* Josue Ortega <[email protected]>, 2015-02-01, 17:17:
Lintian is returning a false positive unused-file-paragraph-in-dep5-copyright exactly when at the first paragraph in the Files field debian/* is specified.

Without a concrete example, I can only guess that you did something like this:

Files: debian/*
Copyright: 2015 Random Developer <[email protected]>
License: FooPL

Files: *
Copyright: 2015 Random Hacker <[email protected]>
License: BarPL


Here the following rule matters: "The last paragraph that matches a particular file applies to it." And since the last paragraph matches everything, the first one is unused.

The solution is to reorder the paragraphs: "More general paragraphs should therefore be given first, followed by more specific overrides."
[...]

Is this a new behaviour? since it's the first time I see it with this copyright file and I hadn't it changed it for a while.

This tag was added in Lintian 2.5.26, released in September 2014. But the copyright format specification had the rule about the paragraph order at least since 2011.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to