Add a bcond for gevent tests
[skip changelog]
This commit is contained in:
parent
7eaf638d38
commit
8f2bc33a68
@ -23,9 +23,16 @@ BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-pytest
|
||||
BuildRequires: python%{python3_pkgversion}-pytest-asyncio
|
||||
BuildRequires: python%{python3_pkgversion}-tornado
|
||||
BuildRequires: python%{python3_pkgversion}-gevent
|
||||
BuildRequires: python%{python3_pkgversion}-numpy
|
||||
|
||||
# The gevent tests are automatically skipped when gevent is not installed.
|
||||
# When bootstrapping new Python versions, gevent is often not available until very late.
|
||||
# This bcond allows to ship zmq without gevent when needed.
|
||||
%bcond gevent 1
|
||||
%if %{with gevent}
|
||||
BuildRequires: python%{python3_pkgversion}-gevent
|
||||
%endif
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user