diff --git a/h5comp b/h5comp new file mode 100644 index 0000000000000000000000000000000000000000..b7bfc0a21fd49e68b2b3a6113bc2d16507e2cd8b --- /dev/null +++ b/h5comp @@ -0,0 +1,10 @@ +#!/bin/bash + +ARCH=$(uname -m) + +case $ARCH in + x86_64 ) BITS=64;; + * ) BITS=32;; +esac + +exec $0-${BITS} "$@" diff --git a/hdf5.spec b/hdf5.spec index 4ba26432d61b46eb93e70cd36425c9097bac34ec..f1a229ff57bbf269de36db1e64814134b2f71005 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -2,12 +2,13 @@ Name: hdf5 Version: 1.12.1 -Release: 1 +Release: 2 Summary: A data model, library, and file format for storing and managing data License: BSD URL: https://portal.hdfgroup.org/display/HDF5/HDF5 Source0: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.1/src/hdf5-1.12.1.tar.bz2 +Source1: h5comp Patch0: hdf5-LD_LIBRARY_PATH.patch Patch1: hdf5-gfortran12.patch @@ -75,18 +76,6 @@ popd %install %make_install -C build %delete_la -cat >h5comp < - 1.12.1-2 +- fix some commands failed + * Thu Mar 30 2023 yaoxin - 1.12.1-1 - Update to 1.12.1 and fix CVE-2018-13867,CVE-2018-14031,CVE-2018-16438,CVE-2019-8396,CVE-2020-10812 and CVE-2021-37501