Accepting request 637096 from home:StefanBruens:branches:science

Main reason to update is the addition/enhancement of 
H5Pset_libver_bounds():
"Added an enumerated value to H5F_libver_t for H5Pset_libver_bounds()." - https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2-RELEASE.txt

This allows to write backwards compatible files with newer hdf5 versions, although this is "opt-in" by the library users. See e.g. https://github.com/Unidata/netcdf-c/issues/250, https://github.com/Unidata/netcdf-c/issues/951


- Update to 1.10.3:
  https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.3/src/hdf5-1.10.3-RELEASE.txt
- Update to 1.10.2:
  https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2-RELEASE.txt
- Bump soversions (101 -> 103) for libhdf5 and libhdf5_cpp
- Drop Fix-warnings-for-missing-returns.patch, fixed upstream
- Add 0001-Fix-return-value-in-test_libver_bounds_open.patch
- Rebase patches (tab / space conversion):
  * PPC64LE-Fix-long-double-handling.patch
  * hdf5-buildcompare.patch
  * hdf5-mpi.patch
- Rebase Disable-phdf5-tests.patch

OBS-URL: https://build.opensuse.org/request/show/637096
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=82
This commit is contained in:
2018-09-21 19:26:10 +00:00
committed by Git OBS Bridge
parent eef55dc825
commit 5daaa9f016
10 changed files with 78 additions and 154 deletions

View File

@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -28,8 +28,8 @@
%define _do_check 1
%define use_sz2 0
%define vers 1.10.1
%define _vers 1_10_1
%define vers 1.10.3
%define _vers 1_10_3
%define short_ver 1.10
%define src_ver %{version}
%define pname hdf5
@@ -193,8 +193,8 @@ ExclusiveArch: do_not_build
# TODO: The so numbers autodetected by update_so_version.sh
# do not match the so numbers that are actually built.
%define sonum 101
%define sonum_CXX 101
%define sonum 103
%define sonum_CXX 103
%define sonum_F 100
%define sonum_HL 100
%define sonum_HL_CXX 100
@@ -211,7 +211,6 @@ Source0: http://www.hdfgroup.org/ftp/HDF5/releases/%{pname}-%{short_ver}/
Source100: _multibuild
Source1000: update_so_version.sh
Patch0: hdf5-LD_LIBRARY_PATH.patch
Patch1: Fix-warnings-for-missing-returns.patch
# not really needed but we want to get noticed if hdf5 doesn' t know our host
Patch2: hdf5-1.8.11-abort_unknown_host_config.patch
%ifarch %arm
@@ -221,6 +220,7 @@ Patch5: PPC64LE-Fix-long-double-handling.patch
Patch6: hdf5-buildcompare.patch
Patch7: hdf5-mpi.patch
Patch8: Disable-phdf5-tests.patch
Patch9: 0001-Fix-return-value-in-test_libver_bounds_open.patch
BuildRequires: fdupes
%if 0%{?use_sz2}
BuildRequires: libsz2-devel
@@ -441,7 +441,6 @@ library packages.
%{?with_hpc: %hpc_debug}
%setup -q -n %{pname}-%{version}
%patch0 -p1 -b .LD_LIBRARY_PATH
%patch1 -p1
%patch2 -p0 -b .abort_unknown_host_config
%ifarch %arm
%patch4 -p0 -b .tests-arm
@@ -450,6 +449,7 @@ library packages.
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%if %{without hpc}
# baselibs looks different for different flavors - generate it on the fly