Dne 06. 08. 23 v 10:26 Barry Scott napsal(a):


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-vBSD
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-vBSD-3-Clause
Approved license


--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to