Allow to use the bootstrap bcond to disable tests

This makes it possible to bootstrap the package in EPEL 10
without flipping the bcond in the spec.

[skip changelog]
This commit is contained in:
Miro Hrončok 2024-08-21 18:19:42 +02:00
commit 90d4eb4cc6

View file

@ -1,5 +1,6 @@
# Many tests are enabled by default
%bcond tests 1
%bcond bootstrap 0
# Many tests are enabled by default, unless bootstrapping
%bcond tests %{without bootstrap}
# However, some tests are disabled by default, becasue they require:
# a) tested tox to be installed and/or
# b) internet connection