diff --git a/python-liblarch.changes b/python-liblarch.changes index 6bc7dae..63776be 100644 --- a/python-liblarch.changes +++ b/python-liblarch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 3 17:07:45 UTC 2013 - toddrme2178@gmail.com + +- Fix building on SLES 11 + ------------------------------------------------------------------- Tue Feb 28 10:43:02 UTC 2012 - cfarrell@suse.com diff --git a/python-liblarch.spec b/python-liblarch.spec index 5187d22..ee0bc7b 100644 --- a/python-liblarch.spec +++ b/python-liblarch.spec @@ -27,8 +27,12 @@ Source: http://gtg.fritalk.com/publique/gtg.fritalk.com/liblarch/0.1/%{_ BuildRequires: python Requires: python-gobject2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{py_requires} +%else BuildArch: noarch -%py_requires +%endif %description Liblarch is a python library built to easily handle data structure such are lists, trees and acyclic graphs