Bug#1052259: licensecheck: GPL-3+ licences shown as GPL-3
Jonas Smedegaard
jonas at jones.dk
Wed Jan 3 01:31:25 GMT 2024
Control: tag -1 confirmed
Hi Peter,
Quoting Peter B (2023-09-19 18:34:02)
> Files containing short license names such as GPL-3.0+ are reported
> as GPL-3 instead of GPL-3+
>
> Example is dist/unix/strawberry.spec.in in package strawberry
> https://salsa.debian.org/debian/strawberry/-/blob/master/dist/unix/strawberry.spec.in
>
> This is the only example file I have now, but I have tried editing the file to
> use various other short names such as;
>
> GPL-3+
> GPLv3+
>
> The results are the same. The + suffix is not recognised as allowing a later
> version of the license. All are reported as GPL-3
Indeed, this is a bug.
Not quite sure, but I guess the problem is that licensecheck strips
surrounding "noise" too aggressively, before scanning for license
shortname - i.e. that the "+" is mistaken as a kind of comment marker or
ASCII art - like this:
++++++++++++++++++
+License: GPL-3.0+
++++++++++++++++++
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
* Sponsorship: https://ko-fi.com/drjones
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20240103/98dc16fa/attachment.sig>
More information about the pkg-perl-maintainers
mailing list