fedora-ruby / gem2rpm

Generate an rpm from a rubygem
Other
78 stars 45 forks source link

Generate SPDX identifiers for License tag #113

Open xsuchy opened 2 years ago

xsuchy commented 2 years ago

Fedora is moving to SPDX license identifiers https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1, and the list of licenses can be found in the package fedora-license-data, and it is already available in Fedora. Can you please alter your script to generate SPDX identifiers in the resulting SPEC file?

voxik commented 2 years ago

I think these are the only two places which needs s/and/AND, because the Rubygems metadata already expects SPDX:

https://github.com/fedora-ruby/gem2rpm/blob/91b38c8388227df4054f33b086631c614606af71/templates/fedora-27-rawhide.spec.erb#L8 https://github.com/fedora-ruby/gem2rpm/blob/91b38c8388227df4054f33b086631c614606af71/templates/fedora-27-rawhide-vagrant-plugin.spec.erb#L8

Nevertheless, I am not sure if new templates should be created or just the old modified. It would be much easier if Fedora said that this applies e.g. F37 forward ...

oturpe commented 5 months ago

I think SPDX now applies for all current Fedora releases. So this can more forward now?