On 17/11/2024 19:19, Fabio Fantoni wrote:
Package: licenserecon
Version: 3.0
Severity: normal

Hi, today I tried to convert to spdx name d/copyright of one project and checking with lrc --spdx I saw still showed debian name instead, here a link to the salsa-ci job but I tried also manually on Sid installation:

https://salsa.debian.org/fantu/pkg-backintime/-/jobs/6608809

Hi Fabio,

Thanks for reporting this issue.

The bug originates in licensecheck.
Even with '--shortname-scheme spdx' specified,
licensecheck detects as GPL2, the comment
 SPDX-License-Identifier: GPL-2.0-or-later

Maybe its confused with the text
General Public License v2 (GPLv2)
that comes later?

( using common/cli.py as an example )

Run licensecheck -m -r --shortname-scheme spdx ./ | grep -v UNKNOWN | sort -k 1,1
to get the licensecheck output.


Regards,
Peter

Reply via email to