You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Nightfurex basically need to create a sensible mapping from this table's "Identifier" column to this table's "Short Name" column, so e.g. updated file should be like so:
# Maps SPDX ID from https://spdx.org/licenses/# to corresponding short name license as recommended by Fedora# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licensesrpmspec_licenses= {
'Apache-2.0': 'APSL 2.0',
'BSD-2-Clause': 'BSD',
'MIT': 'MIT',
# new lines example'AFL-1.1': 'AFL',
'AFL-1.2': 'AFL',
'Beerware': 'Beerware',
}
So for every SPDX "Identifier" that "exists" in the Fedora Short names list, the mapping should be added to that short name.
This file
spdx_id_to_rpmspec.py
contains the mapping between GitHub's spdx_id to Fedora approved short license names.It will be used when updating a
.spec
file and automatically filling out the properLicense:
tag for a release.Currently, it includes only a fraction of all licenses.
The text was updated successfully, but these errors were encountered: