From 35083fa800099592743082ff8bb7ec70a1f04efc Mon Sep 17 00:00:00 2001 From: Christian Dersch Date: Tue, 13 Feb 2018 19:05:42 +0100 Subject: [PATCH] Added patch h5py-Dont-reorder-compound-types (required for new numpy>=1.14) --- h5py.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/h5py.spec b/h5py.spec index f0935d0..1b48d50 100644 --- a/h5py.spec +++ b/h5py.spec @@ -6,13 +6,18 @@ Summary: A Python interface to the HDF5 library Name: h5py Version: 2.7.1 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/Engineering License: BSD URL: http://www.h5py.org/ Source0: https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz # patch to use a system liblzf rather than bundled liblzf 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: hdf5-devel >= 1.8.3 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 %patch0 -p1 -b .lzf rm -rf lzf/lzf +%patch1 -p1 -b .fix_compound_types %{__python} api_gen.py @@ -131,6 +137,9 @@ chmod 0755 %{buildroot}%{python_sitearch}/%{name}/*.so %endif %changelog +* Tue Feb 13 2018 Christian Dersch - 2.7.1-3 +- Added patch h5py-Dont-reorder-compound-types (required for new numpy>=1.14) + * Wed Feb 07 2018 Fedora Release Engineering - 2.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild