Dne 31.1.2018 v 21:10 Evan Klitzke napsal(a):
I have a couple of packages on Fedora COPR, and right now I am just
building the same version of the RPM for all the Fedora releases I support. Upstream for
one of these projects has released a release candidate, and I would like to package the
release candidate for Rawhide only. Is it possible to set this up in an automated way? If
so, how? The way I intuitively expect this to work is based on y experience with Debian
where I would use different git branches in my package repo for different Debian releases.
I didn't see anything like this in the COPR build options, but I'm pretty new to
the Fedora packaging ecosystem so this might just be PEBCAK? And how is this typically
managed for the "real" Fedora package repos?
In Copr, you cannot have branch for Fedora Release. You build from one SRPM.
So you either use conditionals in spec file or you can submit the build only into one
chroot. E.g., rawhide and not to
the others.
Miroslav