diff --git a/python-dateutil.spec b/python-dateutil.spec index 6fe3997..87d0a70 100644 --- a/python-dateutil.spec +++ b/python-dateutil.spec @@ -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