diff options
author | skvidal <skvidal> | 2005-08-05 08:12:44 +0000 |
---|---|---|
committer | skvidal <skvidal> | 2005-08-05 08:12:44 +0000 |
commit | 89055c8f57983efc2be4a66a6cf0eeb586675249 (patch) | |
tree | 2440cb1bc65964fdf6bf806ebac9a1b28248ca3c /docs/mock.1 | |
parent | 68024d3807345cb90468b1c01a2d35127a3c534e (diff) | |
download | mock-89055c8f57983efc2be4a66a6cf0eeb586675249.tar.gz mock-89055c8f57983efc2be4a66a6cf0eeb586675249.tar.xz mock-89055c8f57983efc2be4a66a6cf0eeb586675249.zip |
mock man page from Jeff Sheltren
Makefile for docs dir
Diffstat (limited to 'docs/mock.1')
-rw-r--r-- | docs/mock.1 | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/docs/mock.1 b/docs/mock.1 new file mode 100644 index 0000000..d6ef1cc --- /dev/null +++ b/docs/mock.1 @@ -0,0 +1,54 @@ +.TH "mock" "1" "0.4" "Seth Vidal" "" +.SH "NAME" +.LP +mock \- build a SRPM in a chroot +.SH "SYNTAX" +.LP +mock [\-r CHROOT] [\-\-no\-clean] [\-\-arch=ARCH] [\-\-debug] [\-\-resultdir=RESULTDIR] [\-\-statedir=STATEDIR] [\-\-uniqueext=UNIQUEEXT] \fIfilename\fR + +.SH "DESCRIPTION" +.LP +Mock is a simple chroot/rpm building program. It doesnt do anything terribly fancy other than build a single srpm at a time in a chroot. +.SH "OPTIONS" +.LP +.TP +\fB\-r\fR \fICHROOT\fP +Uses specified chroot configuration as defined in /etc/mock/<\fIchroot\fP>.cfg If none specified, uses the chroot linked to by /etc/mock/default.cfg +.TP +\fB\-\-no\-clean\fR +Do not clean chroot before building package. +.TP +\fB\-\-arch=\fR\fIARCH\fP +Specify target build arch. +.TP +\fB\-\-debug\fR +Output copious debugging information. +.TP +\fB\-\-resultdir=\fR\fIRESULTDIR\fP +Path to store resulting files (RPMs and build logs) +.TP +\fB\-\-help\fR +Show usage information and exit. +.TP +\fB\-\-version\fR +Show version number and exit. +.TP +.SH "FILES" +.LP +\fI/etc/mock/\fP +.SH "EXAMPLES" +.LP +To rebuild test.src.rpm under the default chroot: +.LP +mock /path/to/test.src.rpm +.LP +To specify a different chroot (which must be defined in /etc/mock): +.LP +mock \-r fedora\-4\-i386\-core /path/to/test.src.rpm +.SH "AUTHORS" +.LP +Seth Vidal <skvidal@linux.duke.edu> +.SH "SEE ALSO" +.LP +yum(8) rpmbuild(8) +http://fedoraproject.org/wiki/Projects/Mock |