Python 2 binary package renamed to python2-pyicu

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:39:18 -04:00 committed by Robert Scheck
parent d120b3dac0
commit 8a587e6b11

View File

@ -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 <zbyszek@in.waw.pl> - 1.5-23
- Python 2 binary package renamed to python2-pyicu
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild