Dne 11.5.2017 v 23:03 Tomasz Kłoczko napsal(a):
On 9 May 2017 at 09:29, Jun Aruga <jaruga(a)redhat.com> wrote:
> %{!?_with_bootstrap: %global bootstrap 1}
> ```
>
> At least below proposal is better than current situation.
>
> ```
> %{?_with_bootstrap: %global bootstrap 1}
> ```
Guys really try to learn how to use %bcond. It does not hurt.
You can invent infinite combinations of implementing equivalents o
%bconds and it it will be still only nothing more than other NIH
consequence.
Please understand that there is no way how to use %bcond in Koji (to my
knowledge), while there are ways to set the %boostrap macro.
To generate on the official builders some bootstrapped packages all
what you need is change temporary settings in only package which is
bootstrapped. No global macros is needed .. KISS.
The intention of the guidelines is to keep the .spec file of package
untouched for bootstrapping.
Vít