From dd6a2128a4772c87de66e1680ac5bcdd1f5d0ecc Mon Sep 17 00:00:00 2001 From: lilinjie Date: Thu, 25 May 2023 11:03:20 +0800 Subject: [PATCH 1/2] Fix CC compiler support --- hdf5.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hdf5.spec b/hdf5.spec index 7b3f735..61a85d7 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -11,7 +11,7 @@ Name: hdf5 Version: 1.12.1 -Release: 4 +Release: 5 Summary: A data model, library, and file format for storing and managing data License: GPL-2.0-or-later @@ -354,6 +354,9 @@ make %{?_smp_mflags} -C build check %endif %changelog +* Thu May 25 2023 lilinjie - 1.12.1-5 +- Fix CC compiler support + * Tue Apr 11 2023 liyanan - 1.12.1-4 - Preserve the rpath of the hdf5-openmpi and hdf5-mpich subpackages -- Gitee From 72f5a0c2503abbb0ba45ef3b3a1f1e7984ad63de Mon Sep 17 00:00:00 2001 From: lilinjie Date: Thu, 25 May 2023 03:06:10 +0000 Subject: [PATCH 2/2] update hdf5.spec. Signed-off-by: lilinjie --- hdf5.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdf5.spec b/hdf5.spec index 61a85d7..38bb63b 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -131,7 +131,7 @@ sed -e 's|-O -finline-functions|-O3 -finline-functions|g' -i config/gnu-flags --with-szlib \\\ %{nil} -export CC=gcc +export CC=$CC export CXX=g++ export F9X=gfortran export LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" -- Gitee