endif ()
#-----------------------------------------------------------------------------
-@@ -118,7 +117,7 @@
- if (${HDF5_PACKAGE_NAME}_ENABLE_SZIP_SUPPORT AND ${HDF5_PACKAGE_NAME}_PACKAGE_EXTLIBS)
- include (@PACKAGE_SHARE_INSTALL_DIR@/@SZIP_PACKAGE_NAME@@HDF_PACKAGE_EXT@-targets.cmake)
- endif ()
-- include (@PACKAGE_SHARE_INSTALL_DIR@/@HDF5_PACKAGE@@HDF_PACKAGE_EXT@-targets.cmake)
-+ include (@PACKAGE_SHARE_INSTALL_DIR@/@HDF5_PACKAGE@/@HDF5_PACKAGE@@HDF_PACKAGE_EXT@-targets.cmake)
- endif ()
-
- # Handle default component(static) :
@@ -208,7 +207,3 @@
endif ()
endforeach ()
Patch0: %{name}-sig.patch
Patch1: %{name}-cmake.patch
Patch2: %{name}-sh.patch
-URL: https://support.hdfgroup.org/HDF5/
+URL: https://www.hdfgroup.org/solutions/hdf5/
BuildRequires: autoconf >= 2.69
BuildRequires: automake >= 1:1.11
%{?with_s3:BuildRequires: curl-devel}
sed -e 's,@HDF5_PACKAGE@,hdf5,g' \
-e 's,@HDF_PACKAGE_EXT@,,' \
-e "s,@HDF5_VERSION_STRING@,%{version}," \
- -e "s,@HDF5_VERSION_MAJOR@,1.8," \
+ -e "s,@HDF5_VERSION_MAJOR@,1.10," \
-e "s,@HDF5_VERSION_MINOR@,$vrel," \
-e "s,@H5_VERS_MAJOR@,$vmajor," \
-e "s,@H5_VERS_MINOR@,$vminor," \
%{?with_mpi:-e 's,@MPI_C_INCLUDE_PATH@,%{_includedir},'} \
%{?with_mpi:-e 's,@MPI_C_LIBRARIES@,%{_libdir},'} \
-e 's,@PACKAGE_INCLUDE_INSTALL_DIR@,%{_includedir},' \
- -e 's,@PACKAGE_SHARE_INSTALL_DIR@,%{_libdir}/cmake,' \
+ -e 's,@PACKAGE_SHARE_INSTALL_DIR@,%{_libdir}/cmake/hdf5,' \
-e 's,@PACKAGE_CURRENT_BUILD_DIR@,%{_prefix},' \
config/cmake/${f}.in > $RPM_BUILD_ROOT%{_libdir}/cmake/hdf5/$f
done