diff --git a/python-pyasn1-modules.spec b/python-pyasn1-modules.spec index c31028c..5a2007e 100644 --- a/python-pyasn1-modules.spec +++ b/python-pyasn1-modules.spec @@ -32,9 +32,10 @@ Requires: python-pyasn1 %py_requires %if 0%{?suse_version} > 1110 BuildArch: noarch +%else +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif %endif -%{!?python_sitelib: %global python_sitelib %(%{ python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description This is an implementation of ASN.1 types and codecs in Python programming