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
parent 8efb1dde73
commit 1aa47677ab
1 changed files with 23 additions and 8 deletions

View File

@ -4,7 +4,7 @@
%define realname PyICU %define realname PyICU
Name: pyicu Name: pyicu
Version: 1.5 Version: 1.5
Release: 22%{?dist} Release: 23%{?dist}
Summary: Python extension wrapping IBM's ICU C++ libraries Summary: Python extension wrapping IBM's ICU C++ libraries
Group: Development/Tools Group: Development/Tools
License: MIT License: MIT
@ -23,12 +23,23 @@ Patch0: 0001-fix-build-with-icu-53.1.patch
Patch1: 0001-disable-failing-test.patch Patch1: 0001-disable-failing-test.patch
Patch2: pyicu-1.5-fix-build-with-icu-56.1.patch Patch2: pyicu-1.5-fix-build-with-icu-56.1.patch
%description %global _description\
PyICU is Python extension wrapping IBM's International Components PyICU is Python extension wrapping IBM's International Components\
for Unicode C++ library (ICU). ICU is a mature, widely used set of for Unicode C++ library (ICU). ICU is a mature, widely used set of\
C/C++ and Java libraries providing Unicode and Globalization support C/C++ and Java libraries providing Unicode and Globalization support\
for software applications. ICU is widely portable and gives applications for software applications. ICU is widely portable and gives applications\
the same results on all platforms and between C/C++ and Javasoftware. 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 %package -n python3-pyicu
Summary: Python3 extension wrapping IBM's ICU C++ libraries Summary: Python3 extension wrapping IBM's ICU C++ libraries
@ -76,7 +87,7 @@ popd
# Remove tests # Remove tests
rm -rf %{buildroot}%{python2_sitearch}/tests %{buildroot}%{python3_sitearch}/tests rm -rf %{buildroot}%{python2_sitearch}/tests %{buildroot}%{python3_sitearch}/tests
%files %files -n python2-pyicu
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE README CHANGES CREDITS %doc LICENSE README CHANGES CREDITS
%{python2_sitearch}/* %{python2_sitearch}/*
@ -86,6 +97,10 @@ rm -rf %{buildroot}%{python2_sitearch}/tests %{buildroot}%{python3_sitearch}/tes
%{python3_sitearch}/* %{python3_sitearch}/*
%changelog %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 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild