[\fB--buildroot \fIDIRECTORY\fB\fR] [\fB--clean\fR] [\fB--nobuild\fR]
- [\fB--rmsource\fR] [\fB--rmspec\fR] [\fB--short-circuit\fR] [\fB--sign\fR]
+ [\fB--rmsource\fR] [\fB--rmspec\fR] [\fB--short-circuit\fR]
+ [\fB--noclean\fR] [\fB--nocheck\fR]
[\fB--target \fIPLATFORM\fB\fR]
.SH "DESCRIPTION"
\fB%prep\fR if building, a package)
will be run after a chroot(2) to
\fIDIRECTORY\fR.
+.TP
+\fB-D, --define='\fIMACRO EXPR\fB'\fR
+Defines \fIMACRO\fR with value \fIEXPR\fR.
.SS "BUILD OPTIONS"
.PP
The general form of an rpm build command is
\fB--nobuild\fR
Do not execute any build stages. Useful for testing out spec files.
.TP
+\fB--noclean\fR
+Do not execute %clean build stage even if present in spec.
+.TP
+\fB--nocheck\fR
+Do not execute %check build stage even if present in spec.
+.TP
\fB--nodeps\fR
Do not verify build dependencies.
.TP
way will be marked with an unsatisfiable dependency to prevent
their accidental use.
.TP
-\fB--sign\fR
-Embed a GPG signature in the package. This signature can be used
-to verify the integrity and the origin of the package. See the
-section on GPG SIGNATURES in
-\fBrpm\fR(8)
-for configuration details.
-.TP
\fB--target \fIPLATFORM\fB\fR
When building the package, interpret \fIPLATFORM\fR
as \fBarch-vendor-os\fR and set the macros
\fI/etc/rpm/macros\fR
\fI~/.rpmmacros\fR
.fi
-.SS "Database"
-.PP
-.nf
-\fI/var/lib/rpm/Basenames\fR
-\fI/var/lib/rpm/Conflictname\fR
-\fI/var/lib/rpm/Dirnames\fR
-\fI/var/lib/rpm/Filemd5s\fR
-\fI/var/lib/rpm/Group\fR
-\fI/var/lib/rpm/Installtid\fR
-\fI/var/lib/rpm/Name\fR
-\fI/var/lib/rpm/Packages\fR
-\fI/var/lib/rpm/Providename\fR
-\fI/var/lib/rpm/Provideversion\fR
-\fI/var/lib/rpm/Pubkeys\fR
-\fI/var/lib/rpm/Removed\fR
-\fI/var/lib/rpm/Requirename\fR
-\fI/var/lib/rpm/Requireversion\fR
-\fI/var/lib/rpm/Sha1header\fR
-\fI/var/lib/rpm/Sigmd5\fR
-\fI/var/lib/rpm/Triggername\fR
-.fi
.SS "Temporary"
.PP
\fI/var/tmp/rpm*\fR
.SH "SEE ALSO"
.nf
-\fBpopt\fR(3),
-\fBrpm2cpio\fR(8),
\fBgendiff\fR(1),
+\fBpopt\fR(3),
\fBrpm\fR(8),
+\fBrpm2cpio\fR(8),
+\fBrpmkeys\fR(8)
+\fBrpmspec\fR(8),
+\fBrpmsign\fR(8),
.fi
\fBrpmbuild --help\fR - as rpm supports customizing the options via popt