From 7739b63e7b1e353d25f3d12d28842733ab9a8d64 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Sep 25 2023 13:15:35 +0000 Subject: Switch to the new, more understandable bcond syntax Now when https://pagure.io/fedora-ci/general/issue/381 is fixed, we don't need to preserve spec compatibility with RHEL 8. [skip changelog] --- diff --git a/python-tox.spec b/python-tox.spec index 95a4294..1d4b06a 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -1,5 +1,5 @@ # Many tests are enabled by default -%bcond_without tests +%bcond tests 1 # However, some tests are disabled by default, becasue they require: # a) tested tox to be installed and/or # b) internet connection @@ -11,7 +11,7 @@ # 3) Build again --with ci_tests (and internet connection) # (e.g. fedpkg mockbuild --no-clean-all --enable-network --with ci_tests) # The Fedora CI tests do this. -%bcond_with ci_tests +%bcond ci_tests 0 # Unset -s on python shebang - ensure that extensions installed with pip # to user locations are seen and properly loaded