From 8a587e6b115dc51f95073eb554485cf616d5384d 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 | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/pyicu.spec b/pyicu.spec index 595337c..1eb54d4 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 @@ -18,12 +18,27 @@ BuildRequires: libicu BuildRequires: libicu-devel BuildRequires: gcc-c++ -%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. +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 + +%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 %prep %setup -q -n %{realname}-%{version} @@ -45,13 +60,17 @@ rm -rf %{buildroot} # Remove tests rm -rf %{buildroot}%{python_sitearch}/tests -%files +%files -n python2-pyicu %defattr(-,root,root,-) %doc LICENSE README CHANGES CREDITS %{python_sitearch}/*.* %{python_sitearch}/%{realname}-%{version}-py?.?.egg-info/*.* %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