diff --git pyicu/pyicu.spec pyicu/pyicu.spec.tmp index 4edcd6829a..1bcc5d8485 100644 --- pyicu/pyicu.spec +++ pyicu/pyicu.spec.tmp @@ -4,7 +4,7 @@ %define realname PyICU Name: pyicu Version: 1.5 -Release: 22%{?dist} +Release: 23%{?dist} Summary: Python extension wrapping IBM's ICU C++ libraries Group: Development/Tools License: MIT @@ -23,12 +23,23 @@ Patch0: 0001-fix-build-with-icu-53.1.patch Patch1: 0001-disable-failing-test.patch Patch2: pyicu-1.5-fix-build-with-icu-56.1.patch -%description -PyICU is Python extension wrapping IBM's International Components -for Unicode C++ library (ICU). ICU is a mature, widely used set of -C/C++ and Java libraries providing Unicode and Globalization support -for software applications. ICU is widely portable and gives applications -the same results on all platforms and between C/C++ and Javasoftware. +%global _description\ +PyICU is Python extension wrapping IBM's International Components\ +for Unicode C++ library (ICU). ICU is a mature, widely used set of\ +C/C++ and Java libraries providing Unicode and Globalization support\ +for software applications. ICU is widely portable and gives applications\ +the same results on all platforms and between C/C++ and Javasoftware. + +%description %_description + +%package -n python2-pyicu +Summary: %summary +%{?python_provide:%python_provide python2-pyicu} +# Remove before F30 +Provides: pyicu%{?_isa} = %{version}-%{release} +Obsoletes: pyicu < %{version}-%{release} + +%description -n python2-pyicu %_description %package -n python3-pyicu Summary: Python3 extension wrapping IBM's ICU C++ libraries @@ -76,7 +87,7 @@ popd # Remove tests rm -rf %{buildroot}%{python2_sitearch}/tests %{buildroot}%{python3_sitearch}/tests -%files +%files -n python2-pyicu %defattr(-,root,root,-) %doc LICENSE README CHANGES CREDITS %{python2_sitearch}/* @@ -86,6 +97,10 @@ rm -rf %{buildroot}%{python2_sitearch}/tests %{buildroot}%{python3_sitearch}/tes %{python3_sitearch}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.5-23 +- Python 2 binary package renamed to python2-pyicu + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.5-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild