[Pkg-clamav-devel] tomfastmath is ready

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Thu Feb 5 19:39:44 UTC 2015


On 2015-02-04 22:27:58 [+0100], Andreas Cadhalpun wrote:
> Hi Sebastian,
Hi Andreas,

> There is a lintian warning about debian/copyright:
> W: tomsfastmath source: missing-field-in-dep5-copyright copyright (paragraph
> at line 5)
> This can be fixed by adding a 'Copyright: Tom St Denis' line, even though it
> is public domain.

I saw that. The license is public domain so there is no copyright right?
What about the following patach against lintian instead?

diff --git a/checks/source-copyright.pm b/checks/source-copyright.pm
--- a/checks/source-copyright.pm
+++ b/checks/source-copyright.pm
@@ -384,8 +384,10 @@ sub _parse_dep5 {
             }
 
             if (not defined $copyright) {
-                tag 'missing-field-in-dep5-copyright', 'copyright',
-                  "(paragraph at line $current_line)";
+		if ($short_license ne "public-domain") {
+			tag 'missing-field-in-dep5-copyright', 'copyright',
+			    "(paragraph at line $current_line)";
+		}
             }elsif ($copyright =~ m/\A\s*\Z/mxs) {
                 tag 'missing-field-in-dep5-copyright', 'copyright',
                   '(empty field,',

Sebastian



More information about the Pkg-clamav-devel mailing list