On 14.5.2018 12:35, Michal Novotny wrote:
Now to my problem: some packages update rawhide only and the
fedpkg+rpkg integration works like a charm. Other packages however
keep all the branches synced and they use the %{fedora} variable to
determine different behavior. I'd like to tell copr: Set fedora to
29 even if building for older Fedoras. Can I do that?
Thank you for the positive feedback. I need to admit I don't exactly
understand the use-case. When a package keeps the branches synced,
wouldn't it help to build e.g. for rawhide branch only and ignore
incoming push events for all the other branches?
The use case for example:
fedpkg switches to python3 in rawhide only with a conditional (if fedora
28).
I want to build a fedpkg package for f28 that uses python3.
Currently that would require:
1. fedpkg clone fedpkg && cd fedpkg
2. change the conditional in spec
3. fedpkg srpm
4. copr upload and build
5. script the above or manually do it with every rawhide update
What I'd like to do:
1. add fedpkg package with fedmsg+rpkg integration
2. set fedora to 29 via a configuration dialog
3. keep it running automatically
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok