From 5b69bdba4d7fc64dacec20dbedddb0dfd52be3634a4882941f38376390529ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 23 Apr 2015 11:15:15 +0000 Subject: [PATCH] Accepting request 298780 from home:Nijel:branches:devel:languages:python - Compatibility with SLE11 OBS-URL: https://build.opensuse.org/request/show/298780 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-snowballstemmer?expand=0&rev=2 --- python-snowballstemmer.changes | 5 +++++ python-snowballstemmer.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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