Product SiteDocumentation Site

21.2.2. Building from a compressed tar archive

Table A-9 lists the rpmbuild options for working with a compressed tar archive.
Table A-9 Options for building RPMs from a compressed tar archive
Option
Usage
-ta
Build all, both a binary and source RPM
-tb
Build a binary RPM
-tc
Build (compile) the program but do not make the full RPM, by executing the build commands through the %build section and stopping
-tp
Prepare for building a binary RPM, by executing the build commands through the %prep section and stopping
-ti
Execute the build commands through the %install section and stop
-tl
Check the listing of files for the RPM
-ts
Build a source RPM only
Each of these options requires the name of a compressed tar archive at the end of the command line. The tar archive must contain a valid spec file inside the archive.