Disable tests by default in RHEL builds

Some test dependencies, notably python-hypothesis, are unwanted in the RHEL buildroot.
This commit is contained in:
Yaakov Selkowitz 2023-02-10 17:43:17 +00:00
parent d5a59d9ae9
commit 398a1c8543

View File

@ -3,7 +3,8 @@
This module parses the most common forms of ISO 8601 date strings \
(e.g. 2007-01-14T20:34:22+00:00) into datetime objects.
%bcond_without tests
# avoid unavailable test dependencies in RHEL builds
%bcond tests %{undefined rhel}
Name: python-%{srcname}
Version: 1.1.0