Subpackage python2-Levenshtein has been removed

This commit is contained in:
Miro Hrončok 2019-08-22 15:54:29 +02:00
commit ca3403d6c6

View file

@ -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 <mhroncok@redhat.com> - 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 <mhroncok@redhat.com> - 0.12.0-11
- Rebuilt for Python 3.8