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

Bug#786450: lintian: false positives for missing-license-text-in-dep5-copyright and missing-license-paragraph-in-dep5-copyright



Hi Jonas!

* Jonas Smedegaard <dr@jones.dk>, 2015-05-21, 21:30:
The following triggers missing-license-text-in-dep5-copyright and missing-license-paragraph-in-dep5-copyright:

Files: debian/*
Copyright: 2014, Jonas Smedegaard <dr@jones.dk>
License: GPL-3+
License-Grant:
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
[…]
License: GPL-3+
License-Reference: /usr/share/common-licenses/GPL-3

I believe that to be a false positive: File format 1.0 requires a License paragraph to have a License field (which is always satisfied), but does not mandate said License field to be multi-line.

The specification says: “If there are no remaining lines [in the License field], then all of the short names or short names followed by license exceptions making up the first line must be described in stand-alone License paragraphs.”

I don't believe this requirement is satisfied in your copyright file.

Also, it says: “This field should include all text needed in order to fulfill both Debian Policy's requirement for including a copy of the software's distribution license (12.5)”, so I don't think you can move the relevant information to the License-Grant or License-Reference fields.

--
Jakub Wilk


Reply to: