From ca3403d6c6b16fd82e66c3a967d8dab521d42a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 22 Aug 2019 15:54:29 +0200 Subject: [PATCH] Subpackage python2-Levenshtein has been removed --- python-Levenshtein.spec | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/python-Levenshtein.spec b/python-Levenshtein.spec index 869d39b..4351104 100644 --- a/python-Levenshtein.spec +++ b/python-Levenshtein.spec @@ -3,7 +3,7 @@ Name: python-Levenshtein Summary: Python extension computing string distances and similarities Version: 0.12.0 -Release: 11%{?dist} +Release: 12%{?dist} License: GPLv2+ @@ -14,8 +14,6 @@ URL: http://pypi.python.org/pypi/%{name}/ Source: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz BuildRequires: gcc -BuildRequires: python2-devel -BuildRequires: python2-setuptools BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -26,16 +24,6 @@ medians and set medians of Strings and Unicodes. Because it's implemented in C, it's much faster than corresponding Python library functions and methods. -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -Levenshtein computes Levenshtein distances, similarity ratios, generalized -medians and set medians of Strings and Unicodes. Because it's implemented -in C, it's much faster than corresponding Python 2 library functions and -methods. - %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -50,19 +38,11 @@ methods. %setup -qn %{name}-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install -%files -n python2-%{srcname} -%doc README.rst NEWS -%license COPYING -%{python2_sitearch}/%{srcname}/ -%{python2_sitearch}/python_%{srcname}-%{version}-py%{python2_version}.egg-info/ - %files -n python3-%{srcname} %doc README.rst NEWS %license COPYING @@ -71,6 +51,10 @@ methods. %changelog +* Thu Aug 22 2019 Miro Hrončok - 0.12.0-12 +- Subpackage python2-Levenshtein has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Mon Aug 19 2019 Miro Hrončok - 0.12.0-11 - Rebuilt for Python 3.8