Disable tests by default in RHEL builds
python-twisted is unwanted in RHEL.
This commit is contained in:
parent
512d7b5590
commit
46d8dcbe75
@ -21,7 +21,12 @@ BuildArch: noarch
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
# test requirements
|
# test requirements
|
||||||
|
%if %{defined rhel}
|
||||||
|
%bcond_with tests
|
||||||
|
%else
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
# For “trial-3”
|
# For “trial-3”
|
||||||
BuildRequires: python3dist(twisted)
|
BuildRequires: python3dist(twisted)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user