File project.diff of Package hdf5
--- hdf5.spec.orig
+++ hdf5.spec
@@ -1,7 +1,7 @@
#
# spec file for package hdf5
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%bcond_with sz2
-%define sonum 310
+%define sonum 320
%define pname hdf5
%bcond_with static
@@ -73,22 +73,22 @@ ExcludeArch: %{ix86} %{arm}
%define __builder ninja
Name: %{package_name}
-Version: 1.14.6
+Version: 2.0.0
Release: 0
Summary: Command-line programs for the HDF5 scientific data format
License: BSD-3-Clause
Group: Productivity/Scientific/Other
URL: https://www.hdfgroup.org/HDF5/
-Source0: https://github.com/HDFGroup/hdf5/releases/download/%{pname}_%{version}/%{pname}-%{version}.tar.gz
+Source0: https://github.com/HDFGroup/hdf5/releases/download/%{version}/%{pname}-%{version}.tar.gz
Source100: %{pname}.rpmlintrc
# PATCH-FIX-UPSTREAM hdf5-cmake-fix-script-paths.patch badshah400@gmail.com -- Fix paths in scripts when built using cmake
-Patch0: hdf5-cmake-fix-script-paths.patch
+#Patch0: hdf5-cmake-fix-script-paths.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
+#Patch2: hdf5-1.8.11-abort_unknown_host_config.patch
%ifarch %arm
-Patch4: hdf5-1.8.10-tests-arm.patch
+#Patch4: hdf5-1.8.10-tests-arm.patch
%endif
-Patch5: PPC64LE-Fix-long-double-handling.patch
+#Patch5: PPC64LE-Fix-long-double-handling.patch
BuildRequires: cmake
BuildRequires: fdupes
@@ -273,12 +273,6 @@ This package provides examples of HDF5 l
%prep
%autosetup -N -n %{pname}-%{version}
-%patch -P 0 -p1
-%patch -P 2 -p0 -b .abort_unknown_host_config
-%ifarch %arm
-%patch -P 4 -p0 -b .tests-arm
-%endif
-%patch -P 5 -p1
# baselibs looks different for different flavors - generate it on the fly
cat > %{_sourcedir}/baselibs.conf << EOF
@@ -327,7 +321,7 @@ DISABLED_TEST_REGEX+="|MPI_TEST_H5DIFF-h
export DISABLED_TEST_REGEX
# /SECTION
-# NOTE 1: -DALLOW_UNSUPPORTED=ON is required when -DHDF5_BUILD_FORTRAN is
+# NOTE 1: -DHDF5_ALLOW_UNSUPPORTED=ON is required when -DHDF5_BUILD_FORTRAN is
# enabled along with -DHDF5_ENABLE_THREADSAFE=ON. Building with thise
# combination results in thread-safe C libraries and non-thread-safe fortran
# and/or C++ libraries. So you have to explicitly allow building the
@@ -357,7 +351,7 @@ export DISABLED_TEST_REGEX
-DCMAKE_Fortran_COMPILER:FILEPATH="%{my_bindir}/gfortran" \
%endif
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
- -DALLOW_UNSUPPORTED:BOOL=ON \
+ -DHDF5_ALLOW_UNSUPPORTED:BOOL=ON \
-DBUILD_STATIC_LIBS:BOOL=%{?with_static:ON}%{!?with_static:OFF} \
-DBUILD_TESTING:BOOL=ON \
-DHDF5_INSTALL_CMAKE_DIR:PATH=%{_lib}/cmake/hdf5 \
@@ -408,7 +402,7 @@ rm -rf %{buildroot}%{_prefix}/share/COPY
%{buildroot}%{my_prefix}/share/doc/packages/%{vname}/ \
%{nil}
-sed -Ei "1{s@/usr/bin/env bash@%{my_bindir}/bash@}" %{buildroot}%{my_bindir}/h5fuse
+#sed -Ei "1{s@/usr/bin/env bash@%{my_bindir}/bash@}" %{buildroot}%{my_bindir}/h5fuse
# HACK: We need the _test.so libraries in buildroot for tests
# to succeed, but we can exclude them from file lists
@@ -482,7 +476,7 @@ sed -Ei "s@//@/@g" %{buildroot}%{my_libd
%{my_bindir}/h5diff
%{my_bindir}/h5dump
%{my_bindir}/h5format_convert
-%{my_bindir}/h5fuse
+#%{my_bindir}/h5fuse
%{my_bindir}/h5import
%{my_bindir}/h5jam
%{my_bindir}/h5ls