On 31. 08. 22 15:22, Miroslav Suchý wrote:
Dne 31. 08. 22 v 11:50 Miro Hrončok napsal(a):
Hello license folks.

I see that Fedora's rpmlint is yet to be taught to understand SPDX:

python3-lxml.x86_64: W: invalid-license BSD-3-Clause
python3-lxml.x86_64: W: invalid-license MIT-CMU

Is this support tracked somewhere? I know openSUSE already uses SPDX, so rpmlint probably knows how to read that. Right?

It is not tracked.

It needs to be done here

https://github.com/rpm-software-management/rpmlint/blob/main/configs/Fedora/licenses.toml

The previous data was hand picked. So we need to write a script similar to

https://github.com/rpm-software-management/rpmlint/blob/main/tools/generate-suse-licenses.py

I will not have a capacity for this in upcoming days. Anyone is free to grab 
this.

Here you go:

https://gitlab.com/fedora/legal/fedora-license-data/-/merge_requests/76

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
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