Package: mock / 1.1.33-1

hyphen Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
Author: Tzafrir Cohen <tzafrir@debian.org>
Description: hyphen/minus issues in man pages

--- a/docs/mock.1
+++ b/docs/mock.1
@@ -6,7 +6,7 @@ mock \- build SRPMs in a chroot
 .LP
 mock  [options] \fB\-\-rebuild\fR \fISRPM [\fISRPM...\fR]
 .LP
-mock  [options] \fB\-\-buildsrpm\fR {--spec \fIspec\fR --sources \fIsrc\fR | --scm-enable}
+mock  [options] \fB\-\-buildsrpm\fR {\-\-spec \fIspec\fR \-\-sources \fIsrc\fR | \-\-scm\-enable}
 .LP
 mock  [options] \fB\-\-chroot\fR \fI<cmd>\fR
 .LP
@@ -52,7 +52,7 @@ To use mock, a user should become a memb
 adding their username to the \fBmock\fR line in /etc/group. This can
 be done with the following command:
 .P
-        \fBsudo /usr/sbin/usermod -a -G mock $USER\fR
+        \fBsudo /usr/sbin/usermod \-a \-G mock $USER\fR
 
 Note that mock is not intended to be run directly as root.
 
@@ -69,10 +69,10 @@ Completely remove the specified chroot o
 Initialize a chroot (clean, install chroot packages, etc.)
 .TP
 \fB\-\-rebuild\fP
-If no command is specified, rebuild is assumed. Rebuilds the specified SRPM(s). The buildroot is cleaned first, unless --no-clean is specified.
+If no command is specified, rebuild is assumed. Rebuilds the specified SRPM(s). The buildroot is cleaned first, unless \-\-no\-clean is specified.
 .TP
 \fB\-\-buildsrpm\fP
-Builds the specified SRPM either from a spec file and source file/directory or from SCM. The buildroot is cleaned first, unless --no-clean is specified.
+Builds the specified SRPM either from a spec file and source file/directory or from SCM. The buildroot is cleaned first, unless \-\-no\-clean is specified.
 .TP
 \fB\-\-shell\fP
 Run the specified command interactively within the chroot (which must already be initialized -- no 'clean' is performed). If no command specified, /bin/sh is run.
@@ -131,10 +131,10 @@ Clean chroot after building. Use with \-
 Don't clean chroot after building. If automatic cleanup is enabled, use this to disable.
 .TP
 \fB\-\-cache\-alterations\fR
-Rebuild the root cache after making alterations to the chroot (i.e. --install). Only useful when using tmpfs plugin.
+Rebuild the root cache after making alterations to the chroot (i.e. \-\-install). Only useful when using tmpfs plugin.
 .TP
 \fB\-\-target=\fR\fIARCH\fP
-This argument is passed to rpmbuild to specify the target arch to build. It defaults to whatever is specified for --arch, or whatever is specified in the config file as config_opts['target_arch'].
+This argument is passed to rpmbuild to specify the target arch to build. It defaults to whatever is specified for \-\-arch, or whatever is specified in the config file as config_opts['target_arch'].
 .TP
 \fB\-\-arch=\fR\fIARCH\fP
 Calls the linux personality() syscall to tell the kernel to emulate a secondary architecture. For example, building i386 packages on an x86_64 buildhost.
@@ -169,10 +169,10 @@ Change directory where config files are
 Fail build if rpmbuild takes longer than 'timeout' seconds
 .TP
 \fB\-\-unpriv\fR
-Drop privileges before running command when using --chroot
+Drop privileges before running command when using \-\-chroot
 .TP
 \fB\-\-cwd=\fR\fIDIR\fP
-Change to the specified directory (relative to the chroot) before running command when using --chroot
+Change to the specified directory (relative to the chroot) before running command when using \-\-chroot
 .TP
 \fB\-q\fR, \fB\-\-quiet\fR
 Be quiet.
@@ -209,7 +209,7 @@ Show version number and exit.
 To rebuild test.src.rpm using the Fedora 14 configuration for x86_64
 .LP
 .RS 5
-\fBmock -r fedora-14-x86_64 --rebuild /path/to/test.src.rpm
+\fBmock \-r fedora-14-x86_64 \-\-rebuild /path/to/test.src.rpm
 .RE
 .LP
 Note that the available configurations are found in the /etc/mock
@@ -219,13 +219,13 @@ filename without the trailing .cfg exten
 To place the output RPMs and logs in a specified location.
 .LP
 .RS 5
-\fBmock \-r fedora\-14\-i386 --resultdir=./my-results /path/to/your.src.rpm\fR
+\fBmock \-r fedora\-14\-i386 \-\-resultdir=./my-results /path/to/your.src.rpm\fR
 .RE
 .LP
 To build a package from the default SCM repository configured in site-defaults.cfg use the following arguments.
 .LP
 .RS 5
-\fBmock \-r fedora\-14\-i386 --scm-enable --scm-option package=pkg\fR
+\fBmock \-r fedora\-14\-i386 \-\-scm-enable \-\-scm-option package=pkg\fR
 .RE
 .SH "BUGS"
 .LP
--- a/docs/mockchain.1
+++ b/docs/mockchain.1
@@ -1,9 +1,9 @@
 .\" mockchain
 .TH "mockchain" "1" "" "Seth Vidal" ""
 .SH "NAME"
-mockchain - chain package builder.
+mockchain \- chain package builder.
 .SH "SYNOPSIS"
-\fBmockchain\fP -r chroot_config [options]  [package...]
+\fBmockchain\fP \-r chroot_config [options]  [package...]
 .SH "DESCRIPTION"
 .PP
 \fBmockchain\fP builds a series of srpms in mock one at a time. After each 
@@ -14,7 +14,7 @@ repo which are available to the next pac
 This does not try to sort the packages by build order b/c that is too much 
 effort and not obviously doable with the buildreq information we have.
 .PP
-The build process when you use -l is idempotent so a package which has 
+The build process when you use \-l is idempotent so a package which has 
 already been successfully built will not be built again.
 .PP
 If you want to force the rebuild of a package which has been built 
@@ -51,7 +51,7 @@ chroot config name to use in the mock bu
 \fB\-\-recurse\fR
 build all pkgs, record the failures and try to rebuild them
 again and again until everything gets built (or until the 
-set of pkgs failing to build are the same over) sets --continue
+set of pkgs failing to build are the same over) sets \-\-continue
 
 .SH "AUTHORS"
 Seth Vidal <skvidal@fedoraproject.org>