summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMichael E Brown <mebrown@michaels-house.net>2007-11-19 10:40:15 -0600
committerMichael E Brown <mebrown@michaels-house.net>2007-11-19 10:40:15 -0600
commit51a6f8ab96b0990fcac91d43aa51aec380b41af8 (patch)
treef41f1e421dbec162db15cef2213f39228553dbc7 /docs
parentabd9673abf46bdb7d1979c0a97196a74fc0d0c02 (diff)
downloadmock-51a6f8ab96b0990fcac91d43aa51aec380b41af8.tar.gz
mock-51a6f8ab96b0990fcac91d43aa51aec380b41af8.tar.xz
mock-51a6f8ab96b0990fcac91d43aa51aec380b41af8.zip
update manpage for --resultdir changes.
Diffstat (limited to 'docs')
-rw-r--r--docs/mock.16
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/mock.1 b/docs/mock.1
index c2907ec..627a082 100644
--- a/docs/mock.1
+++ b/docs/mock.1
@@ -46,7 +46,9 @@ Dont clean chroot after building. If automatic cleanup is enabled, use this to d
Specify target build arch.
.TP
\fB\-\-resultdir=\fR\fIRESULTDIR\fP
-Change directory where resulting files (RPMs and build logs) are written
+Change directory where resulting files (RPMs and build logs) are written. Resultdir can contain python-string substitutions for any variable in the chroot config. For example:
+
+\fB\-\-resultdir=./my/'%(dist)s'/'%(target_arch)s'/\fR
.TP
\fB\-\-uniqueext=\fR\fItext\fP
Arbitrary, unique extension to append to buildroot directory name
@@ -92,7 +94,7 @@ To rebuild test.src.rpm under the default chroot:
To specify a different chroot (which must be defined in /etc/mock):
.LP
.RS 5
-\fBmock \-r fedora\-4\-i386\-core rebuild /path/to/test.src.rpm\fR
+\fBmock \-r fedora\-8\-i386\-core rebuild /path/to/test.src.rpm\fR
.RE
.SH "BUGS"
.LP