RPMDEV-NEWSPEC
Section: User Commands (1)
Updated: January 2021
Page Index
NAME
rpmdev-newspec - manual page for rpmdev-newspec version 2.4
SYNOPSIS
rpmdev-newspec
[
,option/]... [
,appname/[
,.spec/]]
DESCRIPTION
rpmdev-newspec generates new rpm .spec files from templates.
OPTIONS
-
-o FILE, --output FILE
-
- Output the specfile to FILE. "-" means stdout. The default is
derived from <appname>, or "newpackage.spec" if <appname> is
not given.
-
-t TYPE, --type TYPE
-
- Force use of the TYPE spec template. The default is guessed
from <appname>, falling back to "minimal" if the guesswork
does not result in a more specific one or if <appname> is not
given.
- -m, --macros
-
Emit templates using macros instead of shell style variables.
Configuration variable: NEWSPEC_PREFER_MACROS, default is off.
-
-D, --legacy-datestamp
-
- Use use legacy datestamp for changelog entries.
Configuration variable: NEWSPEC_LEGACY_DATESTAMP, default is off.
-
-r VERSION, --rpm-version VERSION
-
- Filter out some spec file constructs not needed by the
specified rpm(build) version and newer ones. Configuration
variable: NEWSPEC_MIN_RPMVER, default is system rpm version.
- -h, --help
-
Show this usage message and exit.
- -v, --version
-
Print version information and exit.
FILES
,/etc/rpmdevtools/
-
Directory for specfile templates.
,/etc/rpmdevtools/newspec.conf/
-
System wide configuration.
REPORTING BUGS
Report bugs at <
https://bugzilla.redhat.com/>, component rpmdevtools,
or at <
https://pagure.io/rpmdevtools/issues>.
COPYRIGHT
Copyright © Warren Togami <
warren@togami.com>, Ville Skyttä
<
ville.skytta@iki.fi>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.