Disable tests by default in RHEL builds
This avoids unwanted dependencies, particularly python-hypothesis, in the RHEL buildroot.
This commit is contained in:
parent
d64912f2ea
commit
618215c4a9
@ -23,7 +23,8 @@ Source: %{pypi_source}
|
||||
Patch1: %{url}/commit/2bdd63158b7f981fc6d70a869680451bdfd8d848.patch
|
||||
|
||||
# when bootstrapping dateutil-freezegun, we cannot run tests
|
||||
%bcond_without tests
|
||||
# on RHEL, we do not have or want all test dependencies
|
||||
%bcond tests %{undefined rhel}
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
|
Loading…
Reference in New Issue
Block a user