'\" t .\" Title: copr-rpmbuild .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 01/16/2026 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "COPR\-RPMBUILD" "1" "01/16/2026" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" copr-rpmbuild \- run COPR builds\&. .SH "SYNOPSIS" .sp copr\-rpmbuild [\-c|\-\-config CONFIG_PATH] [\-d|\-\-detached] [\-\-drop\-resultdir] [\-\-rpm|\-\-srpm] [\-r|\-\-chroot CHROOT_NAME] [\-v|\-\-verbose] [\-h|\-\-help] [\-\-build\-id COPR_BUILD_ID] .SH "DESCRIPTION" .sp Runs COPR build of the specified build ID and puts results into /var/lib/copr\-rpmbuild/results/\&. The script generates target RPMs by default but it can also generate just an SRPM by using \-\-srpm switch\&. .SH "OPTIONS" .PP \-\-build\-id COPR_BUILD_ID .RS 4 Run build of the specified ID\&. .RE .PP \-\-drop\-resultdir .RS 4 Drops resultdir and its content at the beginning before continuing\&. .RE .PP \-\-config CONFIG_PATH .RS 4 Path to an alternative config file\&. By default /etc/copr\-rpmbuild/main\&.ini is used\&. .RE .PP \-\-detached .RS 4 Run build in background and output the process PID\&. Log into /var/lib/copr\-rpmbuild/main\&.log\&. .RE .PP \-\-chroot CHROOT_NAME .RS 4 Name of the chroot to build for\&. This follows mock\(cqs convention for naming chroots (e\&.g\&. fedora\-27\-x86_64)\&. See /etc/mock for the full list\&. .RE .PP \-\-srpm .RS 4 Build SRPM instead of building RPM\&. .RE .PP \-\-rpm .RS 4 Build RPM\&. This is the default action\&. Requires \-\-chroot to be specified\&. .RE .PP \-\-verbose .RS 4 Print debugging information\&. .RE .PP \-\-help .RS 4 Display help\&. .RE .SH "EXAMPLES" .PP copr\-rpmbuild \-v \-\-build\-id 551347 \-\-chroot epel\-7\-x86_64 .RS 4 Runs COPR build of ID 551347 in epel\-7\-x86_64 mock chroot and print verbose information\&. RPM will be the result\&. .RE .PP copr\-rpmbuild \-v \-\-build\-id 551347 \-\-srpm .RS 4 Runs the same COPR build as in the previous example and again with verbose information but this time, SRPM will be built\&. .RE .SH "AUTHORS" .sp clime .sp Jakub Kadlcik