remove python2-snowballstemmer subpackage
This commit is contained in:
parent
c065410a3a
commit
4e5644ec65
@ -1,12 +1,12 @@
|
||||
Name: python-snowballstemmer
|
||||
Version: 2.0.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: This package provides 16 stemmers for 15 languages generated from Snowball algorithms
|
||||
License: BSD
|
||||
URL: https://pypi.python.org/pypi/snowballstemmer
|
||||
Source0: https://files.pythonhosted.org/packages/21/1b/6b8bbee253195c61aeaa61181bb41d646363bdaa691d0b94b304d4901193/snowballstemmer-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel python3-devel
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%description
|
||||
This module uses it to accelerate for PyStemmer. It includes following language
|
||||
@ -14,17 +14,6 @@ algorithms: Danish, Dutch, English(Standard, Porter), Finnish, French, German,
|
||||
Hungarian, Italian, Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish,
|
||||
Turkis.
|
||||
|
||||
%package -n python2-snowballstemmer
|
||||
Summary: Provides 16 stemmer algorithms generated from Snowball algorithms
|
||||
BuildArch: noarch
|
||||
%{?python_provide:%python_provide python2-snowballstemmer}
|
||||
|
||||
%description -n python2-snowballstemmer
|
||||
This module uses it to accelerate for PyStemmer. It includes following language
|
||||
algorithms: Danish, Dutch, English(Standard, Porter), Finnish, French, German,
|
||||
Hungarian, Italian, Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish,
|
||||
Turkis.
|
||||
|
||||
%package -n python3-snowballstemmer
|
||||
Summary: Provides 16 stemmer algorithms generated from Snowball algorithms
|
||||
BuildArch: noarch
|
||||
@ -41,19 +30,11 @@ Turkis.
|
||||
rm -rf snowballstemmer.egg-info
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%files -n python2-snowballstemmer
|
||||
%license COPYING
|
||||
%doc README.rst
|
||||
%{python2_sitelib}/snowballstemmer-%{version}-py%{python2_version}.egg-info
|
||||
%{python2_sitelib}/snowballstemmer/
|
||||
|
||||
%files -n python3-snowballstemmer
|
||||
%license COPYING
|
||||
%doc README.rst
|
||||
@ -61,6 +42,9 @@ rm -rf snowballstemmer.egg-info
|
||||
%{python3_sitelib}/snowballstemmer/
|
||||
|
||||
%changelog
|
||||
* Wed Oct 21 2020 jinzhimin <jinzhimin2@huawei.com> - 2.0.0-2
|
||||
- remove python2-snowballstemmer subpackage
|
||||
|
||||
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-1
|
||||
- update to 2.0.0 from upstream
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user