Your company here ā€” click to reach over 10,000 unique daily visitors

packit-build-in-copr - Man Page

Build selected upstream project in Copr.


packit build in-copr [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.


--wait / --no-wait

Wait for the build to finish

--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.: http://copr-be.cloud.fedoraproject.org/results/rhughes/f20-gnome-3-12/fedora-$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.

--enable-net / --disable-net

Copr build is built with explicitly enabled network access or disabled

--release-suffix TEXT

Specifies release suffix. Allows to override default generated:{current_time}.{sanitized_current_branch}{git_desc_suffix}


Allows to use default, packit-generated, release suffix when some release_suffix is specified in the configuration.


Created copr project will have module_hotfixes set to True

-p, --package TEXT

Package to build, if more than one available, like in a monorepo configuration. Use it multiple times to select multiple packages.Defaults to all the packages listed inside the config.


2024-07-09 0.98.0 packit build in-copr Manual