From 1aa47677ab3d587321c368c58e4b94efee85a29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:39:18 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-pyicu --- pyicu.spec | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/pyicu.spec b/pyicu.spec index 4edcd68..854159b 100644 --- a/pyicu.spec +++ b/pyicu.spec @@ -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 19 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