On Tue, Jan 24, 2023 at 1:39 PM Jaroslav Skarvada <jskar...@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!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to