diff --git pyhunspell/pyhunspell.spec pyhunspell/pyhunspell.spec.tmp index 18ec511c3f..5ab426ccdf 100644 --- pyhunspell/pyhunspell.spec +++ pyhunspell/pyhunspell.spec.tmp @@ -6,7 +6,7 @@ Name: pyhunspell Version: 0.4.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python bindings for hunspell Group: Development/Languages @@ -22,10 +22,21 @@ BuildRequires: python3-devel # make it build with hunspell-1.5: Patch0: pyhunspell-0.4.0-hunspell15.patch -%description -These are python bindings for hunspell, that allow to use the hunspell library +%global _description\ +These are python bindings for hunspell, that allow to use the hunspell library\ in python. +%description %_description + +%package -n python2-pyhunspell +Summary: %summary +%{?python_provide:%python_provide python2-pyhunspell} +# Remove before F30 +Provides: pyhunspell%{?_isa} = %{version}-%{release} +Obsoletes: pyhunspell < %{version}-%{release} + +%description -n python2-pyhunspell %_description + %if 0%{?with_python3} %package python3 Summary: Python3 bindings for hunspell allowing to use the hunspell library in Python3 @@ -67,7 +78,7 @@ pushd %{py3dir} popd %endif # with_python3 -%files +%files -n python2-pyhunspell %doc AUTHORS.md CHANGELOG.md COPYING COPYING.LESSER gpl-3.0.txt lgpl-3.0.txt PKG-INFO README.md %{python_sitearch}/hunspell.so %{python_sitearch}/hunspell-*.egg-info @@ -78,6 +89,10 @@ popd %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.4.1-9 +- Python 2 binary package renamed to python2-pyhunspell + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild