On Tue, Jan 24, 2023 at 1:39 PM Jaroslav Skarvada <jskarvad(a)redhat.com> wrote:
Hi,
I need to bootstrap package which has bootstrap support written
according to the [1]. I am able to bootstrap it locally (rpmbuild,
mock, ...) with the "--with bootstrap" or "-D '_with_bootstrap
1'". Is
there support for it in koji? E.g. something like:
koji build SIDE-TAG PACKAGE --bootstrap? Or do I have to manually do:
1. patch:
- %bcond_with bootstrap
+ %bcond_without bootstrap
2. koji build SIDE-TAG SCM
3. update&build the circular dep
4. unpatch:
- %bcond_without bootstrap
+ %bcond_with bootstrap
5. release bump
6. koji build SIDE-TAG SCM
Or is there some better way?
thanks & regards
Jaroslav
[1]
https://docs.fedoraproject.org/en-US/packaging-guidelines/#bootstrapping
You might be able to set macros in your build tags to switch back and
forth between bootstrap mode. I don't recall exactly how this is done
from the koji CLI though...
--
真実はいつも一つ!/ Always, there's only one truth!