RPM's recompile mode is used to recompile software from a source package file. Unlike --rebuild, no binary package is created.
Format: rpm --recompile <options> <source-package>
(Note that -vv is the default for all recompile mode commands.)
Only the global options may be used.