Hello community,
here is the log from the commit of package python-snowballstemmer for
openSUSE:Factory checked in at 2017-04-19 18:07:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-snowballstemmer (Old)
and /work/SRC/openSUSE:Factory/.python-snowballstemmer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-snowballstemmer"
Wed Apr 19 18:07:39 2017 rev:2 rq:485740 version:1.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-snowballstemmer/python-snowballstemmer.changes
2015-07-12 22:53:16.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-snowballstemmer.new/python-snowballstemmer.changes
2017-04-19 18:07:40.504582651 +0200
@@ -1,0 +2,10 @@
+Wed Apr 5 05:35:38 UTC 2017 - [email protected]
+
+- Fix python_module macro definition
+
+-------------------------------------------------------------------
+Mon Dec 19 18:40:51 UTC 2016 - [email protected]
+
+- update for multipython build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-snowballstemmer.spec ++++++
--- /var/tmp/diff_new_pack.HUPGmQ/_old 2017-04-19 18:07:41.160489869 +0200
+++ /var/tmp/diff_new_pack.HUPGmQ/_new 2017-04-19 18:07:41.160489869 +0200
@@ -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 @@
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 @@
%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