Disable tests by default in RHEL builds

python-twisted is unwanted in RHEL.
This commit is contained in:
Yaakov Selkowitz 2023-03-16 21:34:53 -04:00
parent 512d7b5590
commit 46d8dcbe75

View File

@ -21,7 +21,12 @@ BuildArch: noarch
BuildRequires: python3-devel
# test requirements
%if %{defined rhel}
%bcond_with tests
%else
%bcond_without tests
%endif
%if %{with tests}
# For “trial-3”
BuildRequires: python3dist(twisted)