diff --git python-editdist/python-editdist.spec python-editdist/python-editdist.spec.tmp index 55b8479eb3..89da75ecca 100644 --- python-editdist/python-editdist.spec +++ python-editdist/python-editdist.spec.tmp @@ -1,16 +1,24 @@ Summary: CPython module to quickly calculate Levenshtein's edit distance Name: python-editdist Version: 0.3 -Release: 15%{?dist} +Release: 16%{?dist} Source0: http://py-editdist.googlecode.com/files/py-editdist-%{version}.tar.gz License: BSD and ISC Group: Development/Libraries BuildRequires: python-devel python-setuptools URL: http://code.google.com/p/py-editdist/ -%description -"editdist" is a CPython module that calculates the Levenshtein edit -distance between two strings. +%global _description\ +"editdist" is a CPython module that calculates the Levenshtein edit\ +distance between two strings. + +%description %_description + +%package -n python2-editdist +Summary: %summary +%{?python_provide:%python_provide python2-editdist} + +%description -n python2-editdist %_description %prep %setup -q -n py-editdist-%{version} @@ -24,11 +32,15 @@ PYTHONPATH=%{buildroot}/%{python_sitearch} %{__python} test.py %install %{__python} setup.py install -O1 --root=%{buildroot} -%files +%files -n python2-editdist %{python_sitearch}/editdist* %doc LICENSE README TODO ChangeLog %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3-16 +- Python 2 binary package renamed to python2-editdist + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild