diff --git python-unidecode/python-unidecode.spec python-unidecode/python-unidecode.spec.tmp index ceb8d6213c..7849051331 100644 --- python-unidecode/python-unidecode.spec +++ python-unidecode/python-unidecode.spec.tmp @@ -2,7 +2,7 @@ Name: python-unidecode Version: 0.04.16 -Release: 9%{?dist} +Release: 10%{?dist} Summary: US-ASCII transliterations of Unicode text Group: Development/Libraries @@ -17,11 +17,19 @@ BuildRequires: python3-devel %endif -%description -This is a python port of Text::Unidecode Perl module. It provides a function, -'unidecode(...)' that takes Unicode data and tries to represent it in ASCII +%global _description\ +This is a python port of Text::Unidecode Perl module. It provides a function,\ +'unidecode(...)' that takes Unicode data and tries to represent it in ASCII\ characters. +%description %_description + +%package -n python2-unidecode +Summary: %summary +%{?python_provide:%python_provide python2-unidecode} + +%description -n python2-unidecode %_description + %if 0%{?fedora} || 0%{?rhel} > 7 %package -n python3-unidecode Summary: US-ASCII transliterations of Unicode text @@ -56,7 +64,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-unidecode %doc README ChangeLog %{python_sitelib}/unidecode/ %{python_sitelib}/*.egg-info @@ -70,6 +78,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.04.16-10 +- Python 2 binary package renamed to python2-unidecode + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.04.16-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild