@@ -12,17 +12,14 @@ data types and data structures and their HDF5 equivalents vastly\
1212simplifies the process of reading and writing data from Python.
1313Summary: A Python interface to the HDF5 library
1414Name: h5py
15- Version: 3.7 .0
16- Release: 5 %{?dist }
15+ Version: 3.10 .0
16+ Release: 1 %{?dist }
1717License: BSD
1818Vendor: Microsoft Corporation
1919Distribution: Mariner
2020URL: https://www.h5py.org/
2121Source0: https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version }.tar.gz
22- # drop the unnecessary workaround for float128 type after
23- # https://fedoraproject.org/wiki/Changes/PPC64LE_Float128_Transition
24- # in F-36
25- Patch0: h5py-3.7.0-ppc -float128.patch
22+
2623BuildRequires: gcc
2724BuildRequires: hdf5-devel >= 1.14.4
2825BuildRequires: liblzf-devel
@@ -50,7 +47,7 @@ Requires: python%{python3_pkgversion}-six
5047
5148%prep
5249%setup -q -c -n %{name }-%{version }
53- %patch0
50+
5451mv %{name }-%{version } serial
5552cd serial
5653%{__python3} api_gen.py
@@ -69,7 +66,11 @@ export H5PY_SYSTEM_LZF=1
6966export CFLAGS= "%{optflags } -fopenmp"
7067cd serial
7168%py3_build
69+ cd -
7270
71+ # MPI
72+ export CC= mpicc
73+ export HDF5_MPI= "ON"
7374
7475%install
7576# Upstream requires a specific numpy without this
9293%{python3_sitearch }/%{name }-%{version }-*.egg-info
9394
9495%changelog
96+ * Thu May 23 2024 Riken Maharjan <rmaharjan@microsoft.com> - 3.10.0-1
97+ - Update to 3.10.0 to match hdf5 1.14.4
98+
9599* Mon May 20 2024 George Mileka <gmileka@microsoft.com> - 3.7.0-5
96100- Bumping the release version so that this package is re-built with the newer
97101 1.14.4 hdf5 libraries. This ensures that the matching 1.14.4 .so files Will
0 commit comments