On Tue, Feb 28, 2023 at 6:49 PM Sérgio Basto <sergio(a)serjux.com> wrote:
On Mon, 2023-02-27 at 23:37 +0100, Miroslav Suchý wrote:
8795 tags can be trivially converted using `license-fedora2spdx`
Hello,
running [1] the result is [2]
[1]
askalono crawl libcomps-0.1.19
[2]
libcomps-0.1.19/COPYING
License: GPL-2.0-only (original text)
Score: 0.988
but libcomps.spec have "License: GPLv2+"
running: license-fedora2spdx GPLv2+
GPL-2.0-or-later
what is correct GPL-2.0-only or GPL-2.0-or-later ?
This is probably beyond the ability of any tool to reliably determine
(I mean, even more so than license identification in general), and is
particularly way beyond what askalono can figure out since it is (by
design I think) fairly primitive. In particular, askalono AFAIK only
looks at what it thinks are standalone license files, while in GPL
culture the "or later" vs. "only" distinction is typically not made
in
the license file itself.
I took a very quick look at the source code of libcomps version 0.1.18
and concluded 'GPL-2.0-or-later' is likely correct. As far as I could
tell, all source file GPL notices were of the "GPLv2 or any later
version" form. The upstream spec file and setup.py file also indicate
GPLv2+.
Richard