On 05/08/2023 08:07, Miroslav Suchý wrote:
Tip of the day:
Do you want to validate your License string? Use: license-validate "$YOUR_LICENSE_STRING"
I dnf installed license-validate on F38
Then run it to check a license and it does this:
$ /usr/bin/license-validate BSD
No terminal defined for 'B' at line 1 col 1
BSD
^
This is the old string. In legacy system.
$ license-validate --old -v BSD
Approved license
$ license-fedora2spdx 'BSD'
Warning: more options on how to interpret BSD. Possible options:
['BSD-3-Clause', 'BSD-3-Clause-Modification', 'BSD-2-Clause',
'BSD-2-Clause-Views', 'BSD-2-Clause-FreeBSD', 'BSD-1-Clause']
{{pick BSD choice}}
You have to dig in and actually find which of these licenses it is. Let say you find that it is BSD-3-Clause.
$ license-validate -v BSD-3-Clause
Approved license
-- Miroslav Suchy, RHCA Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue