LICENSE-FEDORA2SPDX(1)
π 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.larkinstead.--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
- epel 10: license-validate 31-1.el10_3 Β· MIT
- epel 9: license-validate 31-1.el9 Β· MIT
- fedora 43: license-validate 31-1.fc43 Β· MIT
- fedora 44: license-validate 31-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms