diff options
| author | Todd Zullinger <tmz@pobox.com> | 2007-12-03 20:58:03 -0500 |
|---|---|---|
| committer | Michael E Brown <michael_e_brown@dell.com> | 2007-12-04 17:28:01 -0600 |
| commit | 3364f97752b54f0f507475934fe486a7c8c79a1d (patch) | |
| tree | 02765557436b3ceb5893e6be76a4e1aa8653a222 /docs | |
| parent | 38751f05060ef76e8777a21f3e5fe88f4baf7001 (diff) | |
add --define option to pass rpm macros on the command line
Signed-off-by: Michael E Brown <michael_e_brown@dell.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/mock.1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/mock.1 b/docs/mock.1 index 3adc047..ca212b5 100644 --- a/docs/mock.1 +++ b/docs/mock.1 @@ -56,6 +56,11 @@ Dont clean chroot after building. If automatic cleanup is enabled, use this to d \fB\-\-arch=\fR\fIARCH\fP Specify target build arch. .TP +\fB\-\-define=\fR"\fINAME VALUE\fP" +Specify macro definitions used for the build. This option may be used multiple times, just as the rpmbuild \-\-define option can be. For example: + +\fB\-\-define="vendor Not Fedora" \-\-define="packager Some guy"\fR +.TP \fB\-\-resultdir=\fR\fIRESULTDIR\fP 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: |
