Accepting request 356581 from home:rudi_m:branches:science

- update to 1.8.16, changes documented here: 
  https://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.16/src/hdf5-1.8.16-RELEASE.txt
- rebase hdf5-ldouble-ppc64le.patch
- remove hdf5-cpp-compilation-errors.patch
- prepare independent so versions and add TODO

!!! see TODO in spec file !!!
I'm not the right persion to split packages and care for deps and baselibs etc.
Don't forward to Factory before this TODO is fixed!

OBS-URL: https://build.opensuse.org/request/show/356581
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=17
This commit is contained in:
Todd R
2016-01-29 10:06:01 +00:00
committed by Git OBS Bridge
parent 49a03eafb5
commit bbed69ec6c
9 changed files with 201 additions and 101 deletions

View File

@@ -25,11 +25,22 @@
%define _mpi %{?_openmpi:openmpi} %{?_mvapich2:mvapich2}
# TODO: since 1.8.16 we have independent so versions, see config/lt_vers.am.
# We already have added a script "update_so_version.sh" to update all the
# defines below and baselibs.conf. But we still need to split certain
# subpackages to be able to use these versions.
%define sonum 11
%define sonum_CXX 11
%define sonum_F 10
%define sonum_HL 10
%define sonum_HL_CXX 11
%define sonum_HL_F 10
%define sonum_TOOLS 10
Name: hdf5
%define libname libhdf5
Version: 1.8.15
Version: 1.8.16
Release: 0
%define sonum 10
Summary: Command-line programs for the HDF5 scientific data format
License: BSD-3-Clause
Group: Productivity/Scientific/Other
@@ -44,8 +55,6 @@ Patch2: hdf5-1.8.11-abort_unknown_host_config.patch
Patch4: hdf5-1.8.10-tests-arm.patch
%endif
Patch5: hdf5-ldouble-ppc64le.patch
# PATCH-FIX-UPSTREAM hdf5-cpp-compilation-errors.patch badshah400@gmail.com -- Reverted a change to the H5api_adpt.h that caused compilation errors for the C++ HDF5 applications; patch taken from upstream svn
Patch6: hdf5-cpp-compilation-errors.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
%if 0%{?suse_version} > 1140
@@ -532,7 +541,6 @@ test "%{sonum}" = "${LT_VERS_INTERFACE}" || exit 1
%patch4 -p0 -b .tests-arm
%endif
%patch5 -p1
%patch6 -p0
echo "prepare parallel builds: %_mpi"
for build_dir in build %_mpi; do