Questions tagged [copr]

Copr is a build system for creating RPM packages

Copr (Community projects, formerly Cool Other Package Repositories) is a build system for creating packages.

While the source code is available if someone wants to run an instance for themselves, the vastly more common option is to use the freely available service https://copr.fedorainfracloud.org/ which lets users create (and share) their own packages.

  • Build targets is chosen from variants of Fedora/EPEL/Centos/etc releases and architectures (x86/arm/etc).
  • Copr supports setting up automatic package rebuilds when a source code repository gets new commits.
  • The rpm packages built can be consumed by dnf by adding a corresponding repository reference.
  • There are some restrictions on licesing (only FOSS) and content allowed.

https://docs.pagure.org/copr.copr/user_documentation.html https://developer.fedoraproject.org/deployment/copr/about.html https://fedoraproject.org/wiki/Category:Copr

4 questions
10
votes
3 answers

Ansible dnf module enable Fedora Copr repository

I want to enable a Fedora Copr repository with Ansible. More specifically I want to convert this command: dnf copr enable ganto/lxd Using an Ansible command module I overcome this problem but break the task's idempotence (if run again, the role…
tvl
  • 3,868
  • 2
  • 16
  • 35
2
votes
0 answers

How to handle package dependencies for some build targets when building with Copr?

I want to have a rpm package build with Copr1. My current build target list is Fedora 35, 36, rawhide and Centos 7 and Stream 8. I have not yet created the copr project. Compiling on one of my machines, the package builds successfully on the Fedora…
hlovdal
  • 26,565
  • 10
  • 94
  • 165
1
vote
3 answers

COPR fedoraproject.org builder refuses to download sources specified in my .spec file

I have a package build in https://copr.fedoraproject.org. My spec for rpkg is here. The build is failing with the following Generated rpkg config: [rpkg] preprocess_spec = True [git] anon_clone_url =…
user7610
  • 25,267
  • 15
  • 124
  • 150
1
vote
1 answer

Create Ansible task for yum command

I am trying to convert this yum command to Ansible task: yum -y install yum-plugin-copr yum -y copr enable @spacewalkproject/nightly-client created task like this, but giving error. - name: Install repository yum-plugin-copr yum: …
sfgroups
  • 18,151
  • 28
  • 132
  • 204