update hdf5 software spec file

This commit is contained in:
liushaofei 2021-08-05 12:54:58 +08:00
parent b60bd8d98a
commit af9b1aee70

View File

@ -9,7 +9,7 @@
Name: hdf5 Name: hdf5
Version: 1.8.20 Version: 1.8.20
Release: 12 Release: 13
Summary: A data model, library, and file format for storing and managing data Summary: A data model, library, and file format for storing and managing data
License: GPL License: GPL
@ -143,7 +143,7 @@ ln -s ../configure .
%{configure_opts} \ %{configure_opts} \
--enable-cxx --enable-cxx
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make %{?_smp_mflags} LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" make %{?_smp_mflags} LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" FCFLAGS="$FCFLAGS -fallow-argument-mismatch -fallow-invalid-boz"
popd popd
export CC=mpicc export CC=mpicc
@ -158,7 +158,7 @@ do
ln -s ../configure . ln -s ../configure .
%configure \ %configure \
%{configure_opts} \ %{configure_opts} \
FCFLAGS="$FCFLAGS -I$MPI_FORTRAN_MOD_DIR" \ FCFLAGS="$FCFLAGS -I$MPI_FORTRAN_MOD_DIR -fallow-argument-mismatch -fallow-invalid-boz" \
--enable-parallel \ --enable-parallel \
--exec-prefix=%{_libdir}/$mpi \ --exec-prefix=%{_libdir}/$mpi \
--libdir=%{_libdir}/$mpi/lib \ --libdir=%{_libdir}/$mpi/lib \
@ -349,6 +349,9 @@ make %{?_smp_mflags} -C build check
%endif %endif
%changelog %changelog
* Mon Aug 2 2021 liushaofei <liushaofei5@huawei.com> - 1.8.20-13
- fix incorrect arguments format
* Thu Mar 25 2021 maminjie <maminjie1@huawei.com> - 1.8.20-12 * Thu Mar 25 2021 maminjie <maminjie1@huawei.com> - 1.8.20-12
- Support parallel compilation - Support parallel compilation