packit-copr-build - Man Page

Build selected upstream project in COPR.


packit copr-build [Options] [PATH_OR_URL]


Build selected upstream project in COPR.

PATH_OR_URL argument is a local path or a URL to the upstream git repository, it defaults to the current working directory.



Don't wait for build

--owner TEXT

Copr user, owner of the project. (defaults to username from copr config)

--project TEXT

Project name to build in. Will be created if does not exist. (defaults to the first found project value in the config file or 'packit-cli-{repo_name}-{branch/commit}')

--targets TEXT

Comma separated list of chroots to build in. (defaults to 'fedora-rawhide-x86_64')

--description TEXT

Description of the project to build in.

--instructions TEXT

Installation instructions for the project to build in.


Created copr project will be visible on copr's home-page.


Created copr project will not be removed after 60 days.

--additional-repos TEXT

URLs to additional yum repos, which can be used during build. Comma separated. This should be baseurl from .repo file. E.g.:$releasever-$basearch/

--upstream-ref TEXT

Git ref of the last upstream commit in the current branch from which packit should generate patches (this option implies the repository is source-git).


Ask for admin permissions when we need to change settings of the copr project and are not allowed to do so.

Referenced By


2022-01-20 packit copr-build Manual