From 9fb7a27aeb67b2aaa41c93c3d585dd05b3b81486 Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Thu, 10 Feb 2022 09:01:47 +0000 Subject: [PATCH] Remove python2 --- python-snowballstemmer.spec | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/python-snowballstemmer.spec b/python-snowballstemmer.spec index 4cf700c..84e3712 100644 --- a/python-snowballstemmer.spec +++ b/python-snowballstemmer.spec @@ -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 +* Thu Feb 10 2022 huangtianhua - 2.0.0-2 +- Remove python2 + * Mon Aug 17 2020 jinzhimin - 2.0.0-1 - update to 2.0.0 from upstream -- Gitee