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
|
||||||
|
61
pyicu.spec
61
pyicu.spec
@ -4,15 +4,15 @@
|
|||||||
%define realname PyICU
|
%define realname PyICU
|
||||||
Name: pyicu
|
Name: pyicu
|
||||||
Version: 1.5
|
Version: 1.5
|
||||||
Release: 18%{?dist}
|
Release: 26%{?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
|
||||||
URL: http://pyicu.osafoundation.org/
|
URL: http://pyicu.osafoundation.org/
|
||||||
Source0: http://pypi.python.org/packages/source/P/%{realname}/%{realname}-%{version}.tar.gz
|
Source0: http://pypi.python.org/packages/source/P/%{realname}/%{realname}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: libicu
|
BuildRequires: libicu
|
||||||
@ -23,16 +23,28 @@ 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.
|
||||||
|
|
||||||
%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
|
Summary: Python3 extension wrapping IBM's ICU C++ libraries
|
||||||
%description -n python3-pyicu
|
%description -n python%{python3_pkgversion}-pyicu
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -76,16 +88,41 @@ 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}/*
|
||||||
|
|
||||||
%files -n python3-pyicu
|
%files -n python%{python3_pkgversion}-pyicu
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5-18
|
||||||
- Rebuild for Python 3.6
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user