On Monday, May 14, 2018 12:18:56 PM CEST Miro HronĨok wrote:
Hi,
I do backport stuff from rawhide in my coprs a lot. The relatively newly
announced fedmsg+rpkg thing is making my life easier than ever. So first
of all, kudos!
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?
Go to Copr Project -> Settings -> Chrooot [Edit], and fill field
'Packages' with additional package (say 'foo'), which provides
additional macros (say /usr/lib/rpm/macros.d/macros.foo) redefining whatever the
default in fedora is.
Pavel