1COPR-RPMBUILD(1) COPR-RPMBUILD(1)
2
3
4
6 copr-rpmbuild - run COPR builds.
7
9 copr-rpmbuild [-c|--config CONFIG_PATH] [-d|--detached]
10 [--drop-resultdir] [--rpm|--srpm] [-r|--chroot CHROOT_NAME]
11 [-v|--verbose] [-h|--help] [--build-id COPR_BUILD_ID]
12
14 Runs COPR build of the specified build ID and puts results into
15 /var/lib/copr-rpmbuild/results/. The script generates target RPMs by
16 default but it can also generate just an SRPM by using --srpm switch.
17
19 --build-id COPR_BUILD_ID
20 Run build of the specified ID.
21
22 --drop-resultdir
23 Drops resultdir and its content at the beginning before continuing.
24
25 --config CONFIG_PATH
26 Path to an alternative config file. By default
27 /etc/copr-rpmbuild/main.ini is used.
28
29 --detached
30 Run build in background and output the process PID. Log into
31 /var/lib/copr-rpmbuild/main.log.
32
33 --chroot CHROOT_NAME
34 Name of the chroot to build for. This follows mock’s convention for
35 naming chroots (e.g. fedora-27-x86_64). See /etc/mock for the full
36 list.
37
38 --srpm
39 Build SRPM instead of building RPM.
40
41 --rpm
42 Build RPM. This is the default action. Requires --chroot to be
43 specified.
44
45 --verbose
46 Print debugging information.
47
48 --help
49 Display help.
50
52 copr-rpmbuild -v --build-id 551347 --chroot epel-7-x86_64
53 Runs COPR build of ID 551347 in epel-7-x86_64 mock chroot and print
54 verbose information. RPM will be the result.
55
56 copr-rpmbuild -v --build-id 551347 --srpm
57 Runs the same COPR build as in the previous example and again with
58 verbose information but this time, SRPM will be built.
59
61 clime <clime@redhat.com>
62
63 Jakub Kadlcik <jkadlcik@redhat.com>
64
65
66
67 05/20/2021 COPR-RPMBUILD(1)