diff --git a/python3-pyzmq.spec b/python3-pyzmq.spec index becd8f3..9fa4883 100644 --- a/python3-pyzmq.spec +++ b/python3-pyzmq.spec @@ -30,7 +30,7 @@ Requires: python3-base Requires: python(abi) = %{py3_ver} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?python_sitearch: %global python3_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif %description