diff --git a/python3-pyzmq.changes b/python3-pyzmq.changes index dcc8c74..ed73918 100644 --- a/python3-pyzmq.changes +++ b/python3-pyzmq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 27 09:10:08 UTC 2012 - highwaystar.ru@gmail.com + +- fixed building of python3 package on openSUSE 11.4 and older + ------------------------------------------------------------------- Tue Jan 31 16:20:35 UTC 2012 - saschpe@suse.de diff --git a/python3-pyzmq.spec b/python3-pyzmq.spec index 9fa4883..d168ca0 100644 --- a/python3-pyzmq.spec +++ b/python3-pyzmq.spec @@ -27,11 +27,12 @@ Source: http://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}. BuildRequires: python3-devel BuildRequires: zeromq-devel Requires: python3-base -Requires: python(abi) = %{py3_ver} BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python3_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%if 0%{?suse_version} && 0%{?suse_version} <= 1140 +%{!?python3_sitearch: %global python3_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)} %endif +Requires: python(abi) = %{py3_ver} %description PyZMQ is a lightweight and super-fast messaging library built on top of