added --nosource/--nopatch descriptions
This commit is contained in:
parent
d12dc59634
commit
c59eaf7d69
@ -3,7 +3,7 @@
|
||||
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
|
||||
.\" Please send any bug reports, improvements, comments, patches,
|
||||
.\" etc. to Steve Cheng <steve@ggi-project.org>.
|
||||
.TH "RPMBUILD" "8" "06 June 2001" "Red Hat, Inc." "Red Hat Linux"
|
||||
.TH "RPMBUILD" "8" "09 June 2002" "Red Hat, Inc." "Red Hat Linux"
|
||||
.SH NAME
|
||||
rpmbuild \- Build RPM Package(s)
|
||||
.SH SYNOPSIS
|
||||
@ -19,12 +19,15 @@ rpmbuild \- Build RPM Package(s)
|
||||
.SS "MISCELLANEOUS:"
|
||||
.PP
|
||||
|
||||
\fBrpmbuild\fR {\fB--showrc\fR}
|
||||
.SS "RPMBUILD-OPTIONS"
|
||||
\fBrpmbuild\fR \fB--showrc\fR
|
||||
.SS "RPMBUILD OPTIONS:"
|
||||
.PP
|
||||
|
||||
\fB[--buildroot \fIDIRECTORY\fB] [--clean] [--nobuild] [--rmsource] [--rmspec]
|
||||
[--short-circuit] [--sign] [--target \fIPLATFORM\fB]\fR
|
||||
[\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--nosource\fR] [\fB--nopatch\fR]
|
||||
[\fB--target \fIPLATFORM\fB\fR]
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
.PP
|
||||
\fBrpmbuild\fR is used to build both binary and source software packages.
|
||||
@ -78,22 +81,23 @@ The default \fIFILELIST\fR is
|
||||
Pipes the output of \fBrpm\fR to the command \fICMD\fR.
|
||||
.TP
|
||||
\fB--dbpath \fIDIRECTORY\fB\fR
|
||||
Use the database in \fIDIRECTORY\fR rathen
|
||||
Use the database in \fIDIRECTORY\fR rather
|
||||
than the default path \fI/var/lib/rpm\fR
|
||||
.TP
|
||||
\fB--root \fIDIRECTORY\fB\fR
|
||||
Use the system rooted at \fIDIRECTORY\fR for all operations.
|
||||
Note that this means the database will be read or modified under
|
||||
\fIDIRECTORY\fR and any
|
||||
\fB%pre\fR or
|
||||
\fB%post\fR
|
||||
scriptlet(s) are run after a chroot(2) to
|
||||
Use the file system tree rooted at \fIDIRECTORY\fR for all operations.
|
||||
Note that this means the database within
|
||||
\fIDIRECTORY\fR
|
||||
will be used for dependency checks and any scriptlet(s) (e.g.
|
||||
\fB%post\fR if installing, or
|
||||
\fB%prep\fR if building, a package)
|
||||
will be run after a chroot(2) to
|
||||
\fIDIRECTORY\fR.
|
||||
.SS "BUILD OPTIONS"
|
||||
.PP
|
||||
The general form of an rpm build command is
|
||||
.PP
|
||||
\fBrpmbuild\fR {\fB-b\fISTAGE\fB|-t\fISTAGE\fB\fR} [\fBrpmbuild-options\fR] \fB\fIFILE\fB\fR\fI ...\fR
|
||||
\fBrpmbuild\fR {\fB-b\fISTAGE\fB|-t\fISTAGE\fB\fR} [\fBrpmbuild options\fR] \fB\fIFILE\fB\fR\fI ...\fR
|
||||
.PP
|
||||
The argument used is \fB-b\fR if a spec file is being
|
||||
used to build the package and \fB-t\fR if \fBrpmbuild\fR
|
||||
@ -143,6 +147,12 @@ Remove the build tree after the packages are made.
|
||||
\fB--nobuild\fR
|
||||
Do not execute any build stages. Useful for testing out spec files.
|
||||
.TP
|
||||
\fB--nopatch\fR \fISTRING\fB\fR
|
||||
Do not include specified patches into source rpm file.
|
||||
.TP
|
||||
\fB--nosource\fR \fISTRING\fB\fR
|
||||
Do not include specified sources into source rpm file.
|
||||
.TP
|
||||
\fB--rmsource\fR
|
||||
Remove the sources after the build (may also be
|
||||
used standalone, e.g. "\fBrpmbuild\fR \fB--rmsource foo.spec\fR").
|
||||
@ -159,13 +169,15 @@ and \fB-bi\fR.
|
||||
\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 for configuration details.
|
||||
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
|
||||
\fB%_target\fR,
|
||||
\fB%_target_arch\fR, and
|
||||
\fB%_target_cpu\fR, and
|
||||
\fB%_target_os\fR
|
||||
accordingly.
|
||||
.SS "REBUILD AND RECOMPILE OPTIONS"
|
||||
@ -231,6 +243,8 @@ configuration file(s).
|
||||
|
||||
\fBgendiff\fR(1),
|
||||
|
||||
\fBrpminit\fR(1),
|
||||
|
||||
\fBrpm\fR(8),
|
||||
|
||||
\fB http://www.rpm.org/ <URL:http://www.rpm.org/>
|
||||
|
Loading…
Reference in New Issue
Block a user