diff --git a/python-zmq.spec b/python-zmq.spec index 77d8710..a8b17db 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -63,10 +63,6 @@ BuildRequires: gcc BuildRequires: pkgconfig(libzmq) BuildRequires: python%{python3_pkgversion}-devel -%if %{with gevent} -BuildRequires: python%{python3_pkgversion}-gevent -%endif - %global common_description %{expand: This package contains Python bindings for ZeroMQ. ØMQ is a lightweight and fast messaging implementation.} @@ -96,6 +92,10 @@ BuildRequires: python%{python3_pkgversion}-tornado Requires: python%{python3_pkgversion}-tornado BuildRequires: python%{python3_pkgversion}-numpy Requires: python%{python3_pkgversion}-numpy +%if %{with gevent} +BuildRequires: python%{python3_pkgversion}-gevent +Requires: python%{python3_pkgversion}-gevent +%endif %description -n python%{python3_pkgversion}-zmq-tests %{common_description}