diff --git a/python-pyasn1-modules.changes b/python-pyasn1-modules.changes index 5ae1de2..9aa6c43 100644 --- a/python-pyasn1-modules.changes +++ b/python-pyasn1-modules.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 2 19:44:41 UTC 2013 - toddrme2178@gmail.com + +- Fix building on SLES + ------------------------------------------------------------------- Fri Jul 27 18:03:12 UTC 2012 - michael@stroeder.com 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