diff --git a/python-snowballstemmer.changes b/python-snowballstemmer.changes index 862bc50..d8c64da 100644 --- a/python-snowballstemmer.changes +++ b/python-snowballstemmer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 23 11:13:43 UTC 2015 - mcihar@suse.cz + +- Compatibility with SLE11 + ------------------------------------------------------------------- Thu Apr 9 02:13:13 UTC 2015 - termim@gmail.com diff --git a/python-snowballstemmer.spec b/python-snowballstemmer.spec index c72f828..0ab0ab1 100644 --- a/python-snowballstemmer.spec +++ b/python-snowballstemmer.spec @@ -1,7 +1,7 @@ # # spec file for package python-snowballstemmer # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,11 @@ Url: https://github.com/shibukawa/snowball_py Source: https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-%{version}.tar.gz BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +%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 This package provides 16 stemmer algorithms (15 + Poerter English