Accepting request 729777 from devel:languages:python

- Update to 1.9.1:
  * provide license file in the tarball

OBS-URL: https://build.opensuse.org/request/show/729777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-snowballstemmer?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-09-23 10:04:13 +00:00 committed by Git OBS Bridge
commit 2821bb1296
5 changed files with 13 additions and 39 deletions

27
COPYING
View File

@ -1,27 +0,0 @@
Copyright (c) 2001, Dr Martin Porter
Copyright (c) 2004,2005, Richard Boulton
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the Snowball project nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 10 10:21:45 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.9.1:
* provide license file in the tarball
-------------------------------------------------------------------
Tue Aug 27 09:26:48 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -18,20 +18,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-snowballstemmer
Version: 1.9.0
Version: 1.9.1
Release: 0
Summary: 16 stemmer algorithms
License: BSD-3-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
# https://github.com/snowballstem/snowball/issues/102
Source1: https://raw.githubusercontent.com/snowballstem/snowball/master/COPYING
BuildRequires: %{python_module base}
URL: https://github.com/shibukawa/snowball_py
Source: https://files.pythonhosted.org/packages/source/s/snowballstemmer/snowballstemmer-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@ -43,12 +40,10 @@ Romanian, Russian, Spanish, Swedish, Turkish. This is a pure Python
stemming library. If PyStemmer is available, this module uses it to
accelerate.
%prep
%setup -q -n snowballstemmer-%{version}
%build
cp %{SOURCE1} .
%python_build
%install

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f3b9ffe0809d174f7047e121431acf99c89a7040f0ca84f94ba53a498e6d0c9
size 76910

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:713e53b79cbcf97bc5245a06080a33d54a77e7cce2f789c835a143bcdb5c033e
size 82045