1RPMDEV-NEWSPEC(1) User Commands RPMDEV-NEWSPEC(1)
2
3
4
6 rpmdev-newspec - manual page for rpmdev-newspec version 2.4
7
9 rpmdev-newspec [option]... [appname[.spec]]
10
12 rpmdev-newspec generates new rpm .spec files from templates.
13
15 -o FILE, --output FILE
16
17 Output the specfile to FILE. "-" means stdout. The default is
18 derived from <appname>, or "newpackage.spec" if <appname> is not
19 given.
20
21 -t TYPE, --type TYPE
22
23 Force use of the TYPE spec template. The default is guessed from
24 <appname>, falling back to "minimal" if the guesswork does not
25 result in a more specific one or if <appname> is not given.
26
27 -m, --macros
28 Emit templates using macros instead of shell style variables.
29 Configuration variable: NEWSPEC_PREFER_MACROS, default is off.
30
31 -D, --legacy-datestamp
32
33 Use use legacy datestamp for changelog entries. Configuration
34 variable: NEWSPEC_LEGACY_DATESTAMP, default is off.
35
36 -r VERSION, --rpm-version VERSION
37
38 Filter out some spec file constructs not needed by the specified
39 rpm(build) version and newer ones. Configuration variable:
40 NEWSPEC_MIN_RPMVER, default is system rpm version.
41
42 -h, --help
43 Show this usage message and exit.
44
45 -v, --version
46 Print version information and exit.
47
49 /etc/rpmdevtools
50
51 Directory for specfile templates.
52
53 /etc/rpmdevtools/newspec.conf
54
55 System wide configuration.
56
58 Report bugs at <https://bugzilla.redhat.com/>, component rpmdevtools,
59 or at <https://pagure.io/rpmdevtools/issues>.
60
62 Copyright © Warren Togami <warren@togami.com>, Ville Skyttä
63 <ville.skytta@iki.fi> This program is free software; you can redis‐
64 tribute it and/or modify it under the terms of the GNU General Public
65 License as published by the Free Software Foundation; either version 2
66 of the License, or (at your option) any later version.
67
68
69
70rpmdev-newspec version 2.4 February 2022 RPMDEV-NEWSPEC(1)