From 7d27174b697d64fd30d159a8aebb34f322a288d3 Mon Sep 17 00:00:00 2001 From: cherry530 Date: Tue, 11 Apr 2023 10:22:17 +0800 Subject: [PATCH] fix some commands failed Signed-off-by: cherry530 --- h5comp | 10 ++++++++++ hdf5.spec | 22 +++++++--------------- 2 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 h5comp diff --git a/h5comp b/h5comp new file mode 100644 index 0000000..b7bfc0a --- /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 357e94e..0046492 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -9,12 +9,13 @@ Name: hdf5 Version: 1.8.20 -Release: 15 +Release: 16 Summary: A data model, library, and file format for storing and managing data License: GPL-2.0-or-later and BSD-3-Clause URL: https://portal.hdfgroup.org/display/HDF5/HDF5 Source0: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.20/src/hdf5-1.8.20.tar.bz2 +Source1: h5comp Patch0: hdf5-LD_LIBRARY_PATH.patch Patch1: hdf5-mpi.patch @@ -178,18 +179,6 @@ done %install %make_install -C build %delete_la -cat >h5comp < - 1.8.20-16 +- fix some commands failed + * Fri Mar 31 2023 yaoxin - 1.8.20-15 - Fix CVE-2018-16438 and CVE-2018-14031 -- Gitee