rpmspec --version (return code: 0)
RPM version 4.12.0.2
rpmspec --help (return code: 0)
Usage: rpmspec [OPTION...]
Spec options:
-P, --parse parse spec file(s) to stdout
-q, --query query spec file(s)
--rpms operate on binary rpms generated by spec
(default)
--srpm operate on source rpm generated by spec
--target=STRING override target platform
--queryformat=QUERYFORMAT use the following query format
Common options for all rpm modes and executables:
-D, --define='MACRO EXPR' define MACRO with value EXPR
--undefine=MACRO undefine MACRO
-E, --eval='EXPR' print macro expansion of EXPR
--macros=<FILE:...> read <FILE:...> instead of default file(s)
--noplugins don't enable any plugins
--nodigest don't verify package digest(s)
--nosignature don't verify package signature(s)
--rcfile=<FILE:...> read <FILE:...> instead of default file(s)
-r, --root=ROOT use ROOT as top level directory (default:
"/")
--dbpath=DIRECTORY use database in DIRECTORY
--querytags display known query tags
--showrc display final rpmrc and macro configuration
--quiet provide less detailed output
-v, --verbose provide more detailed output
--version print the version of rpm being used
Options implemented via popt alias/exec:
--conflicts list capabilities this package conflicts
with
--obsoletes list other packages removed by installing
this package
--provides list capabilities that this package
provides
--requires list capabilities required by package(s)
--buildconflicts list capabilities conflicting with build
of this package
--buildrequires list capabilities required to build this
package
Help options:
-?, --help Show this help message
--usage Display brief usage message