Compare commits

...

11 Commits

Author SHA1 Message Date
Troy Dawson 388e4d8e28 Rebuilt to change main python from 3.4 to 3.6 2019-03-07 12:59:30 -08:00
Robert Scheck 69bd94a154 Use %{python3_pkgversion} macro 2018-12-28 18:25:06 +01:00
Zbigniew Jędrzejewski-Szmek c473c6cad0 Add Provides for the old name without %_isa 2018-12-28 16:22:15 +01:00
Zbigniew Jędrzejewski-Szmek 8a587e6b11 Python 2 binary package renamed to python2-pyicu 2018-12-28 16:21:58 +01:00
Fedora Release Engineering d120b3dac0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2018-12-28 16:19:16 +01:00
Fedora Release Engineering b06aae2d7c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2018-12-28 16:19:09 +01:00
Igor Gnatenko 030a9a83a3 Rebuild due to bug in RPM (RHBZ #1468476)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2018-12-28 16:19:03 +01:00
Fedora Release Engineering 995d45bd58 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2018-12-28 16:18:57 +01:00
Miro Hrončok 832863e3eb Rebuild for Python 3.6 2018-12-28 16:18:24 +01:00
Benjamin Lefoul 60ff054aa6 From EPEL6 to start 2017-01-31 21:53:09 +01:00
Benjamin Lefoul e0f635b9c2 Python3 is not for RHEL7. 2017-01-31 21:39:55 +01:00
2 changed files with 51 additions and 14 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/PyICU-1.*.tar.gz
/PyICU-1.1.tar.gz

View File

@ -4,15 +4,15 @@
%define realname PyICU
Name: pyicu
Version: 1.5
Release: 18%{?dist}
Release: 26%{?dist}
Summary: Python extension wrapping IBM's ICU C++ libraries
Group: Development/Tools
License: MIT
URL: http://pyicu.osafoundation.org/
Source0: http://pypi.python.org/packages/source/P/%{realname}/%{realname}-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: libicu
@ -23,16 +23,28 @@ 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.
%package -n python3-pyicu
%description %_description
%package -n python2-pyicu
Summary: %summary
%{?python_provide:%python_provide python2-pyicu}
# Remove before F30
Provides: pyicu = %{version}-%{release}
Provides: pyicu%{?_isa} = %{version}-%{release}
Obsoletes: pyicu < %{version}-%{release}
%description -n python2-pyicu %_description
%package -n python%{python3_pkgversion}-pyicu
Summary: Python3 extension wrapping IBM's ICU C++ libraries
%description -n python3-pyicu
%description -n python%{python3_pkgversion}-pyicu
%{summary}.
%prep
@ -76,16 +88,41 @@ 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}/*
%files -n python3-pyicu
%files -n python%{python3_pkgversion}-pyicu
%doc LICENSE
%{python3_sitearch}/*
%changelog
* Thu Mar 07 2019 Troy Dawson <tdawson@redhat.com> - 1.5-26
- Rebuilt to change main python from 3.4 to 3.6
* Fri Dec 28 2018 Robert Scheck <robert@fedoraproject.org> - 1.5-25
- Use %%{python3_pkgversion} macro
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5-24
- Add Provides for the old name without %%_isa
* 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
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.5-20
- Rebuild due to bug in RPM (RHBZ #1468476)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5-18
- Rebuild for Python 3.6