Accepting request 485740 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/485740 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-snowballstemmer?expand=0&rev=2
This commit is contained in:
commit
eea24b1274
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 5 05:35:38 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- Fix python_module macro definition
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 19 18:40:51 UTC 2016 - jmatejek@suse.com
|
||||
|
||||
- update for multipython build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 23 11:13:43 UTC 2015 - mcihar@suse.cz
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-snowballstemmer
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-snowballstemmer
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
@ -24,13 +25,12 @@ License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/shibukawa/snowball_py
|
||||
Source: https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: python-rpm-macros
|
||||
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
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This package provides 16 stemmer algorithms (15 + Poerter English
|
||||
@ -46,12 +46,12 @@ accelerate.
|
||||
%setup -q -n snowballstemmer-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/*
|
||||
%doc README.rst LICENSE.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user