diff --git a/python-pyparsing.changes b/python-pyparsing.changes index b733a50..f8a42a8 100644 --- a/python-pyparsing.changes +++ b/python-pyparsing.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 2 16:32:17 UTC 2016 - toddrme2178@gmail.com + +- Fix SLE 11 build. + ------------------------------------------------------------------- Tue Nov 1 19:46:14 UTC 2016 - toddrme2178@gmail.com diff --git a/python-pyparsing.spec b/python-pyparsing.spec index 11be512..140202e 100644 --- a/python-pyparsing.spec +++ b/python-pyparsing.spec @@ -31,7 +31,11 @@ BuildRequires: python-setuptools Requires: python Provides: python-parsing = %{version} Obsoletes: python-parsing < %{version} +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch +%endif %description The pyparsing module is an alternative approach to creating and executing