Usage: rpmbuild [OPTION...] Build options with [ | | ]: -bp build through %prep (unpack sources and apply patches) from -bf build through %conf (%prep, then %conf) from -bc build through %build (%prep, %conf, then compile) from -bd check build dependencies -bi build through %install (%prep, %conf, %build, then install) from -bk build through %check (%prep, %conf, %build, %install, then check) from -bl verify %files section from -ba build source and binary packages from -bb build binary package only from -bs build source package only from -br build source package only from - calculate dynamic build requires -rp build through %prep (unpack sources and apply patches) from -rf build through %conf (%prep, then %conf) from -rc build through %build (%prep, %conf, then compile) from -rd check build dependencies -ri build through %install (%prep, %conf, %build, then install) from -rk build through %check (%prep, %conf, %build, %install, then check) from -rl verify %files section from -ra build source and binary packages from -rb build binary package only from -rs build source package only from -rr build source package only from - calculate dynamic build requires -tp build through %prep (unpack sources and apply patches) from -tf build through %conf (%prep, then %conf) from -tc build through %build (%prep, %conf, then compile) from -td check build dependencies -ti build through %install (%prep, %conf, %build, then install) from -tk build through %check (%prep, %conf, %build, %install, then check) from -ta build source and binary packages from -tb build binary package only from -ts build source package only from -tr build source package only from - calculate dynamic build requires --rebuild build binary package from --recompile build through %install (%prep, %build, then install) from --buildroot=DIRECTORY override build root (DEPRECATED) --clean remove build tree when done --nobuild do not execute any stages of the build --nodeps do not verify build dependencies --noclean do not execute %clean stage of the build --noprep do not execute %prep stage of the build --nocheck do not execute %check stage of the build --rmsource remove sources when done --rmspec remove specfile when done --short-circuit skip straight to specified stage (only for c,i) --target=CPU-VENDOR-OS override target platform 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 --target=CPU-VENDOR-OS Specify target platform --macros= read instead of default file(s) --load= load a single macro file --noplugins don't enable any plugins --nodigest don't verify package digest(s) --nosignature don't verify package signature(s) --rcfile= read 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: --with=