1RBM-SRPM(1) RBM-SRPM(1)
2
3
4
6 rbm-srpm - Create source rpm package
7
9 rbm srpm <project> [options]
10
12 Create a source rpm package for the select project.
13
14 This is equivalent to running rbm build --step srpm <project>.
15
17 The following configuration options are related to rpm packages :
18
19 rpm_rel
20 RPM package release number. The default is to use the option
21 pkg_rel if defined, otherwise use a release number containing the
22 number of commits since the last git tag, and the hash of the
23 commit used.
24
25 rpmspec
26 This is the content of the rpm spec file, used by the rpm and srpm
27 commands. The default is to include the template file named
28 project.spec (with project replaced by the project’s name).
29
30 rpmbuild
31 This is the content of the script to build a rpm or srpm. It is
32 using the rpmbuild_action option to select the build action (-bs to
33 build a source package, or -ba to build all packages).
34
35 rpm
36 This is the script that is used to build an rpm package, in the rpm
37 command. By default it is using the rpmbuild option with the -ba
38 action.
39
40 srpm
41 This is the script that is used to build a source rpm package, in
42 the srpm command. By default it is using the rpmbuild option with
43 the -bs action.
44
45 See rbm_config(7) for all other options.
46
48 See rbm_cli(7).
49
51 rbm(1)
52
53
54
55 01/21/2022 RBM-SRPM(1)