diff --git a/python-pyzmq.changes b/python-pyzmq.changes index 98ab95f..8e02fa0 100644 --- a/python-pyzmq.changes +++ b/python-pyzmq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 12 09:13:28 UTC 2021 - Matej Cepl + +- Clean up of SPEC file, while investigating test suite errors. + ------------------------------------------------------------------- Sun Feb 14 17:15:28 UTC 2021 - Ben Greiner diff --git a/python-pyzmq.spec b/python-pyzmq.spec index 7d9ecab..c6eb66c 100644 --- a/python-pyzmq.spec +++ b/python-pyzmq.spec @@ -17,7 +17,6 @@ %define skip_python2 1 - %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Disable tests, they are very slow/halt on many arch %ifarch x86_64 @@ -29,7 +28,7 @@ Name: python-pyzmq Version: 22.0.3 Release: 0 Summary: Python bindings for 0MQ -License: LGPL-3.0-or-later AND BSD-3-Clause +License: BSD-3-Clause AND LGPL-3.0-or-later URL: https://github.com/zeromq/pyzmq Source: https://files.pythonhosted.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz Source1: python-pyzmq-rpmlintrc @@ -46,11 +45,11 @@ BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} BuildRequires: %{python_module simplejson} BuildRequires: %{python_module tornado} -BuildRequires: %{python_module numpy if (%python-base without python36-base)} +BuildRequires: %{python_module numpy if (%{python}-base without python36-base)} # /SECTION # SECTION pypy3 is not in openSUSE at the moment, it would use the cffi backend -BuildRequires: %{python_module cffi if (%python with pypy3)} -BuildRequires: %{python_module py if (%python with pypy3)} +BuildRequires: %{python_module cffi if (%{python} with pypy3)} +BuildRequires: %{python_module py if (%{python} with pypy3)} %if "%{python_flavor}" == "pypy3" Requires: python-cffi Requires: python-py @@ -60,9 +59,9 @@ Requires: python-py Recommends: python-gevent Recommends: python-numpy Recommends: python-pexpect -Suggests: python-paramiko Recommends: python-simplejson Recommends: python-tornado +Suggests: python-paramiko %endif %python_subpackages @@ -73,6 +72,7 @@ the ZeroMQ library (http://www.zeromq.org). %package devel Summary: Development files for %{name} Requires: %{name} = %{version} +Requires: python-base Requires: python-devel Requires: zeromq-devel @@ -94,7 +94,7 @@ zmq_prefix = %{_prefix} no_libzmq_extension = True '>> setup.cfg export CFLAGS="%{optflags}" -%python_build +%python_build %install %python_install @@ -103,7 +103,8 @@ export CFLAGS="%{optflags}" %if %{with tests} %check export LANG=en_US.UTF-8 -# This test wants to build a custom cython extension, but does not have the source files installed into the buildroot +# This test wants to build a custom cython extension, but does +# not have the source files installed into the buildroot SKIPPED_TESTS+=" or test_cython" %if 0%{?suse_version} < 1550 # tries to open a network connection on older distributions