Disable tests by default in RHEL builds
This avoids unwanted dependencies (particularly python-hypothesis) in the RHEL buildroot.
This commit is contained in:
parent
691fb12b77
commit
e5227723da
@ -1,7 +1,7 @@
|
||||
%global modname attrs
|
||||
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
# Can't run tests on EPEL7 due to need for pytest >= 2.8
|
||||
%if 0%{?rhel}
|
||||
# Avoid unwanted/unavailable dependencies in RHEL builds
|
||||
%bcond_with tests
|
||||
%else
|
||||
# Turn the tests off when bootstrapping Python, because pytest requires attrs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user