1SPEC2SCL(1) General Commands Manual SPEC2SCL(1)
2
3
4
6 spec2scl - manual page for spec2scl
7
9 usage: spec2scl [-h] [-V] [-i] [-r] [-b] [-k SKIP_FUNCTIONS] [-n | -l
10 SCL_CONTENTS_LIST] [--meta-specfile METAPACKAGE_NAME] [-v VARIABLES]
11 [ARGUMENT [ARGUMENT ...]]
12
13 Convert RPM specfile to be SCL ready.
14
15 positional arguments:
16 ARGUMENT
17 Path(s) to the specfile(s).
18
19 optional arguments:
20 -h, --help
21 show this help message and exit
22
23 -V, --version
24 show spec2scl version
25
26 -i Convert in place (replace old specfiles with the new generated
27 ones). Mandatory when multiple specfiles are to be converted.
28
29 -r, --no-meta-runtime-dep
30 Don't add the runtime dependency on the scl runtime package.
31
32 -b, --no-meta-buildtime-dep
33 Don't add the buildtime dependency on the scl runtime package.
34
35 -k SKIP_FUNCTIONS, --skip-functions SKIP_FUNCTIONS
36 Comma separated list of transformer functions to skip.
37
38 -n, --no-deps-convert
39 Don't convert dependency tags (mutually exclusive with -l).
40
41 -l SCL_CONTENTS_LIST, --list-file SCL_CONTENTS_LIST
42 List of the packages/provides, that will be in the SCL (to con‐
43 vert Requires/BuildRequires properly). Lines in the file are in
44 form of "pkg-name %{?custom_prefix}", where the prefix part is
45 optional.
46
47 metapackage arguments:
48 --meta-specfile METAPACKAGE_NAME
49 Produce metapackage specfile based on the metapackage name pro‐
50 vided, see SCL docs for metapackage naming.
51
52 -v VARIABLES, --variables VARIABLES
53 List of variables separated with comma (used only with
54 --meta-specfile option).
55
56
58 spec2scl [SPECFILE_PATH]
59 Convert an RPM specfile into an SCL specfile
60
61 spec2scl -i [SPECFILE_PATH [SPECFILE_PATH ...]]
62 Convert one or more RPM specfiles into SCL specfiles and replace
63 the original files
64
65 spec2scl --meta-specfile [METAPACKAGE_NAME]
66 Create a specfile for a metapackage with a name METAPACKAGE_NAME
67
68
70 PYTHON
71
72
74 MIT
75
76
78 Writen by Slavek Kabrda, Robert Kuska, Iryna Shcherbina
79
80
81
82 SPEC2SCL(1)