Dne 09. 06. 20 v 12:12 Nicolas Mailhot napsal(a):
Le mardi 09 juin 2020 à 12:08 +0200, Vít Ondruch a écrit :
> Just FTR, we have bootstrapping guidelines
>
https://docs.fedoraproject.org/en-US/packaging-guidelines/#bootstrapping
>
Those suffer from
1. the horrible bcond logic inversion that trips pretty much everyone
all the time.
That won't be different for what was the original question here, i.e.
conditionally disable tests. bconds are what we have for better or worse.
And really, this seems about bootstrapping not disabling tests, which
are not completely different, but nobody can objects bootstrapping,
while disabling tests might be good just to improve build speed and
nothing else. That should never happen in production environment IMO.
2. the fact you can not ask koji or mock for a bootstrapped build,
you
have to change the spec manually
You can set them in modules and I think Koji can set them:
https://pagure.io/koji/issue/416
Not mentioning that there is almost always way to provide some macro
file, e.g. there is no reason for python bootstrapping all the packages
to not ship some macro in `/usr/lib/macros.d/macros.python-bootstrap`.
Vít