LICENSE-FEDORA2SPDX(1)

πŸ“¦
version 31 Β· 3 versions
, in epel 10, epel 9, fedora 43, fedora 44

πŸ’– LICENSE-FEDORA2SPDX πŸ’–

okay bestie, so this is a section 1 manual page for license-fedora2spdx, which lives in the license-validate crew. she's a little translator script and honestly? she eats. ✨


🌸 NAME 🌸

license-fedora2spdx β€” converts an old Fedora license string into an SPDX identifier. that's it, that's the job, and she does it flawlessly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

license-fedora2spdx [-h] [--file FILE] [--verbose] license

positional arguments:

  • license β€” the license string itself, queen. e.g. 'GPL or MIT'. like, literally hand her the words and she'll hand you back the goods 🫢

✨ OPTIONS ✨

  • -h, --help β€” shows you the help message and dips. classic. πŸ‘‘
  • --file FILE β€” reads the grammar from this file instead of the usual spot. the default is /usr/share/license-validate/grammar-shortnames.lark. and β€” plot twist πŸ“ β€” if that default file doesn't exist, the script goes looking for ./full-grammar-shortnames.lark instead.
  • --verbose, -v β€” prints more human friendly messages, so you actually get told what's going on. without it? she's silent. just exits with error code zero if the license is valid, or error code 1 if the license is invalid. no notes, no commentary, just a number. πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

so what she does is: you give her a license string in the old short format (the one as stated on the Licensing wiki, iykyk) and she converts it into a formula of SPDX identifiers. glow up achieved ✨

she will warn you when the short name can be converted to multiple SPDX identifiers. when that happens, you have to go research which license is actually the correct one. that's on you, bestie, not on her πŸ™ˆ

and listen, important caveat, no cap: this script does not check source files, and it does not check whether the license is actually correct. for that purpose you may use licensecheck. she's a translator, not a detective. periodt πŸ’…


🌈 AUTHORS 🌈

  • Miroslav SuchΓ½ <msuchy@redhat.com> β€” the icon, the legend, the main character πŸ‘‘

okay that's the whole page, you're so welcome πŸ’– this was license-validate, version date 06/17/2026 β€” mwah, go convert something iconic πŸŽ€πŸ¦‹β­

πŸ“¦ where this page comes from