RPM's rebuild mode is used to rebuild packages from a source package file. The source archives, patches, and icons that comprise the source package are removed after the binary package is built. Rebuild mode implies --clean.
Format: rpm --rebuild <options> <source-package>
(Note that -vv is the default for all rebuild mode commands.)
Only the global options may be used.