Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
388e4d8e28 | ||
|
69bd94a154 | ||
|
c473c6cad0 | ||
|
8a587e6b11 | ||
|
d120b3dac0 | ||
|
b06aae2d7c | ||
|
030a9a83a3 | ||
|
995d45bd58 | ||
|
832863e3eb | ||
|
60ff054aa6 | ||
|
e0f635b9c2 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/PyICU-1.*.tar.gz
|
||||
/PyICU-1.1.tar.gz
|
||||
|
63
pyicu.spec
63
pyicu.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user