diff --git python-pyphen/python-pyphen.spec python-pyphen/python-pyphen.spec.tmp index e0c609c242..132f2daf9a 100644 --- python-pyphen/python-pyphen.spec +++ python-pyphen/python-pyphen.spec.tmp @@ -6,7 +6,7 @@ Name: python-pyphen Version: 0.9.1 -Release: 9%{?dist} +Release: 10%{?dist} Group: Development/Libraries Summary: Pure Python module to hyphenate text License: LGPLv2+ @@ -25,10 +25,18 @@ BuildRequires: python3-devel python3-setuptools # packs, but if not, they can be installed separately. Patch0: pyphen-0.9.1-shared-dicts.patch -%description -Pyphen is a pure Python module to hyphenate text using existing +%global _description\ +Pyphen is a pure Python module to hyphenate text using existing\ hyphenation dictionaries, e.g., from Libreoffice language packs. +%description %_description + +%package -n python2-pyphen +Summary: %summary +%{?python_provide:%python_provide python2-pyphen} + +%description -n python2-pyphen %_description + %if 0%{?with_python3} %package -n python3-pyphen Summary: Pure Python module to hyphenate text @@ -70,7 +78,7 @@ pushd %{py3dir} popd %endif # with_python3 -%files +%files -n python2-pyphen %doc COPYING README %{python_sitelib}/* @@ -81,6 +89,10 @@ popd %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.9.1-10 +- Python 2 binary package renamed to python2-pyphen + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.9.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild