[packages/hdf5] - updated to 1.8.21 (note: new libhdf5_cpp soname) - updated+fixed cmake patch
qboosh
qboosh at pld-linux.org
Sat Dec 22 22:35:36 CET 2018
commit 9dff225cb47d8d3df64d5015fc71cc5b5f563945
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Dec 22 22:40:16 2018 +0100
- updated to 1.8.21 (note: new libhdf5_cpp soname)
- updated+fixed cmake patch
hdf5-cmake.patch | 16 ++++++++--------
hdf5.spec | 13 ++++++++-----
2 files changed, 16 insertions(+), 13 deletions(-)
---
diff --git a/hdf5.spec b/hdf5.spec
index 3e58547..2a09ba5 100644
--- a/hdf5.spec
+++ b/hdf5.spec
@@ -10,12 +10,12 @@
Summary: Hierarchical Data Format 5 library
Summary(pl.UTF-8): Biblioteka HDF5 (Hierarchical Data Format 5)
Name: hdf5
-Version: 1.8.20
-Release: 5
+Version: 1.8.21
+Release: 1
License: Nearly BSD, but changed sources must be marked
Group: Libraries
Source0: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-%{version}/src/%{name}-%{version}.tar.bz2
-# Source0-md5: 23078d57975903e9536d1e7b299cc39c
+# Source0-md5: 2d2408f2a9dfb5c7b79998002e9a90e9
Patch0: %{name}-config.patch
Patch1: %{name}-sig.patch
Patch2: %{name}-cmake.patch
@@ -257,7 +257,7 @@ for f in hdf5-config-version.cmake hdf5-config.cmake hdf5-targets.cmake hdf5-tar
%{?with_mpi:-e 's, at MPI_C_INCLUDE_PATH@,%{_includedir},'} \
%{?with_mpi:-e 's, at MPI_C_LIBRARIES@,%{_libdir},'} \
-e 's, at PACKAGE_INCLUDE_INSTALL_DIR@,%{_includedir},' \
- -e 's, at PACKAGE_SHARE_INSTALL_DIR@,%{_libdir}/cmake/hdf5,' \
+ -e 's, at PACKAGE_SHARE_INSTALL_DIR@,%{_libdir}/cmake,' \
-e 's, at PACKAGE_CURRENT_BUILD_DIR@,%{_prefix},' \
config/cmake/${f}.in > $RPM_BUILD_ROOT%{_libdir}/cmake/hdf5/$f
done
@@ -352,7 +352,7 @@ rm -rf $RPM_BUILD_ROOT
%files c++
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libhdf5_cpp.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libhdf5_cpp.so.15
+%attr(755,root,root) %ghost %{_libdir}/libhdf5_cpp.so.16
%attr(755,root,root) %{_libdir}/libhdf5_hl_cpp.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libhdf5_hl_cpp.so.11
@@ -364,6 +364,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libhdf5_cpp.la
%{_libdir}/libhdf5_hl_cpp.la
%{_includedir}/H5AbstractDs.h
+%{_includedir}/H5AcreatProp.h
%{_includedir}/H5ArrayType.h
%{_includedir}/H5AtomType.h
%{_includedir}/H5Attribute.h
@@ -387,6 +388,7 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/H5IdComponent.h
%{_includedir}/H5IntType.h
%{_includedir}/H5LaccProp.h
+%{_includedir}/H5LcreatProp.h
%{_includedir}/H5Library.h
%{_includedir}/H5Location.h
%{_includedir}/H5Object.h
@@ -395,6 +397,7 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/H5PredType.h
%{_includedir}/H5PropList.h
%{_includedir}/H5StrType.h
+%{_includedir}/H5StrcreatProp.h
%{_includedir}/H5VarLenType.h
%{_examplesdir}/%{name}-%{version}/c++
%{_examplesdir}/%{name}-%{version}/hl/c++
diff --git a/hdf5-cmake.patch b/hdf5-cmake.patch
index ef58c8a..25c91e5 100644
--- a/hdf5-cmake.patch
+++ b/hdf5-cmake.patch
@@ -278,7 +278,7 @@
+# Import target "hdf5::hdf5-shared" for configuration ""
+set_property(TARGET hdf5::hdf5-shared APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
+set_target_properties(hdf5::hdf5-shared PROPERTIES
-+ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5.so.10.3.1"
++ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5.so.10.3.2"
+ IMPORTED_SONAME_NOCONFIG "libhdf5.so.10"
+ )
+
@@ -298,12 +298,12 @@
+# Import target "hdf5::hdf5_tools-shared" for configuration ""
+set_property(TARGET hdf5::hdf5_tools-shared APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
+set_target_properties(hdf5::hdf5_tools-shared PROPERTIES
-+ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_tools.so.10.3.1"
++ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_tools.so.10.3.2"
+ IMPORTED_SONAME_NOCONFIG "libhdf5_tools.so.10"
+ )
+
+list(APPEND _IMPORT_CHECK_TARGETS hdf5::hdf5_tools-shared )
-+list(APPEND _IMPORT_CHECK_FILES_FOR_hdf5::hdf5_tools-shared "${_IMPORT_PREFIX}/lib/libhdf5_tools-shared.so.1.8.20" )
++list(APPEND _IMPORT_CHECK_FILES_FOR_hdf5::hdf5_tools-shared "${_IMPORT_PREFIX}/lib/libhdf5_tools-shared.so.10.3.2" )
+
+# Import target "hdf5::h5diff" for configuration ""
+set_property(TARGET hdf5::h5diff APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
@@ -481,7 +481,7 @@
+set_property(TARGET hdf5::hdf5_hl-shared APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
+set_target_properties(hdf5::hdf5_hl-shared PROPERTIES
+ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_hl.so.10"
-+ IMPORTED_SONAME_NOCONFIG "libhdf5_hl.so.10.2.1"
++ IMPORTED_SONAME_NOCONFIG "libhdf5_hl.so.10.2.2"
+ )
+
+list(APPEND _IMPORT_CHECK_TARGETS hdf5::hdf5_hl-shared )
@@ -518,12 +518,12 @@
+# Import target "hdf5::hdf5_cpp-shared" for configuration ""
+set_property(TARGET hdf5::hdf5_cpp-shared APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
+set_target_properties(hdf5::hdf5_cpp-shared PROPERTIES
-+ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_cpp.so.15.0.0"
-+ IMPORTED_SONAME_NOCONFIG "libhdf5_cpp.so.15"
++ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_cpp.so.16.0.0"
++ IMPORTED_SONAME_NOCONFIG "libhdf5_cpp.so.16"
+ )
+
+list(APPEND _IMPORT_CHECK_TARGETS hdf5::hdf5_cpp-shared )
-+list(APPEND _IMPORT_CHECK_FILES_FOR_hdf5::hdf5_cpp-shared "${_IMPORT_PREFIX}/@lib@/libhdf5_cpp.so.15" )
++list(APPEND _IMPORT_CHECK_FILES_FOR_hdf5::hdf5_cpp-shared "${_IMPORT_PREFIX}/@lib@/libhdf5_cpp.so.16" )
+
+# Import target "hdf5::hdf5_hl_cpp-static" for configuration ""
+set_property(TARGET hdf5::hdf5_hl_cpp-static APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
@@ -538,7 +538,7 @@
+# Import target "hdf5::hdf5_hl_cpp-shared" for configuration ""
+set_property(TARGET hdf5::hdf5_hl_cpp-shared APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
+set_target_properties(hdf5::hdf5_hl_cpp-shared PROPERTIES
-+ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_hl_cpp.so.11.1.1"
++ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/@lib@/libhdf5_hl_cpp.so.11.1.2"
+ IMPORTED_SONAME_NOCONFIG "libhdf5_hl_cpp.so.11"
+ )
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hdf5.git/commitdiff/9dff225cb47d8d3df64d5015fc71cc5b5f563945
More information about the pld-cvs-commit
mailing list