Disable tests by default in RHEL builds

RHEL does not include the test dependencies.  This is based on c9s:

488327aa0f
This commit is contained in:
Yaakov Selkowitz 2023-05-16 17:36:43 -04:00
parent 040845c23c
commit 8d03190e25

View File

@ -1,6 +1,7 @@
%if 0%{?_module_build}
%if 0%{?_module_build} || 0%{?rhel}
# Don't run tests on module-build for now
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1450608
# RHEL does not include the test dependencies
%bcond_with tests
%else
# When bootstrapping Python, we cannot test this yet