Added patch h5py-Dont-reorder-compound-types (required for new numpy>=1.14)
This commit is contained in:
parent
9beb3e4510
commit
35083fa800
11
h5py.spec
11
h5py.spec
@ -6,13 +6,18 @@
|
|||||||
Summary: A Python interface to the HDF5 library
|
Summary: A Python interface to the HDF5 library
|
||||||
Name: h5py
|
Name: h5py
|
||||||
Version: 2.7.1
|
Version: 2.7.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.h5py.org/
|
URL: http://www.h5py.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
|
||||||
# patch to use a system liblzf rather than bundled liblzf
|
# patch to use a system liblzf rather than bundled liblzf
|
||||||
Patch0: h5py-system-lzf.patch
|
Patch0: h5py-system-lzf.patch
|
||||||
|
|
||||||
|
# Patch to work with numpy >= 1.14, rebased version of upstream commit
|
||||||
|
# https://github.com/h5py/h5py/commit/5009e062a6f7d4e074cab0fcb42a780ac2b1d7d4
|
||||||
|
Patch1: h5py-Dont-reorder-compound-types.patch
|
||||||
|
|
||||||
BuildRequires: liblzf-devel
|
BuildRequires: liblzf-devel
|
||||||
BuildRequires: hdf5-devel >= 1.8.3
|
BuildRequires: hdf5-devel >= 1.8.3
|
||||||
BuildRequires: python2-devel >= 2.6
|
BuildRequires: python2-devel >= 2.6
|
||||||
@ -91,6 +96,7 @@ This is the Python %{python3_version} version of h5py.
|
|||||||
# use system libzlf and remove private copy
|
# use system libzlf and remove private copy
|
||||||
%patch0 -p1 -b .lzf
|
%patch0 -p1 -b .lzf
|
||||||
rm -rf lzf/lzf
|
rm -rf lzf/lzf
|
||||||
|
%patch1 -p1 -b .fix_compound_types
|
||||||
%{__python} api_gen.py
|
%{__python} api_gen.py
|
||||||
|
|
||||||
|
|
||||||
@ -131,6 +137,9 @@ chmod 0755 %{buildroot}%{python_sitearch}/%{name}/*.so
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 13 2018 Christian Dersch <lupinix@mailbox.org> - 2.7.1-3
|
||||||
|
- Added patch h5py-Dont-reorder-compound-types (required for new numpy>=1.14)
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user