SPEC2SCL(1)
β¨ NAME β¨
spec2scl β the manual page for spec2scl, bestie. That's it, that's the name, we move.
π DESCRIPTION π
okay so real talk, here's how you run this thing:
usage: spec2scl [-h] [-V] [-i] [-r] [-b] [-k SKIP_FUNCTIONS] [-n | -l SCL_CONTENTS_LIST] [--meta-specfile METAPACKAGE_NAME] [-v VARIABLES] [ARGUMENT [ARGUMENT ...]]
Convert RPM specfile to be SCL ready. That's the whole job. She takes your normie RPM specfile and gives it that SCL makeover π
πΈ positional arguments πΈ
ARGUMENTβ the path(s) to the specfile(s). Plural, babes. You can hand her more than one.
π¦ optional arguments π¦
-h,--helpβ shows this help message and dips. classic.-V,--versionβ shows thespec2sclversion, so you know what you're working with.-iβ convert in place, meaning she replaces the old specfiles with the new generated ones. Mandatory when multiple specfiles are to be converted, so don't skip it if you're batch-processing, or it's giving chaos.-r,--no-meta-runtime-depβ don't add the runtime dependency on the scl runtime package. she'll simply not. π-b,--no-meta-buildtime-depβ don't add the buildtime dependency on the scl runtime package. same energy, different dependency.-k SKIP_FUNCTIONS,--skip-functions SKIP_FUNCTIONSβ a comma separated list of transformer functions to skip. tell her which ones to leave alone.-n,--no-deps-convertβ don't convert dependency tags. Mutually exclusive with-l, so pick a lane bestie, you cannot have both.-l SCL_CONTENTS_LIST,--list-file SCL_CONTENTS_LISTβ the list of the packages/provides that will be in the SCL, so she can convert Requires/BuildRequires properly. The lines in the file are in form of"pkg-name %{?custom_prefix}", where the prefix part is optional. (yes, the quotes are in the file format. keep them, iykyk.)
π metapackage arguments π
--meta-specfile METAPACKAGE_NAMEβ produce a metapackage specfile based on the metapackage name provided. go check the SCL docs for metapackage naming, fr fr, don't freestyle that part.-v VARIABLES,--variables VARIABLESβ list of variables separated with comma. Used only with the--meta-specfileoption, so don't come at her with-valone, it's giving nothing.
π EXAMPLES π
the vibes, demonstrated:
spec2scl [SPECFILE_PATH]
Convert an RPM specfile into an SCL specfile. the classic glow-up β¨
spec2scl -i [SPECFILE_PATH [SPECFILE_PATH ...]]
Convert one or more RPM specfiles into SCL specfiles and replace the original files. bold. fearless. irreversible-ish.
spec2scl --meta-specfile [METAPACKAGE_NAME]
Create a specfile for a metapackage with a name METAPACKAGE_NAME. main character metapackage behavior, honestly. π
π LANGUAGE π
PYTHON
π LICENCE π
MIT β permissive queen. do what you want, just keep the notice.
π AUTHOR π
Writen by Slavek Kabrda, Robert Kuska, Iryna Shcherbina π«Ά absolute legends, no cap.
and that's the whole page, bestie β SPEC2SCL(1), living in the General Commands Manual, section 1, right where she belongs. go convert something pretty πβ¨π
π¦ where this page comes from
- fedora 43: spec2scl 1.2.2-28.fc43 Β· MIT
- fedora 44: spec2scl 1.2.2-29.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms