From 47a1f21238d5883d78a83bf01bac2ddc49316290 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 22 Aug 2025 08:38:32 -0600 Subject: [PATCH 1/3] Rebuild for netcdf 4.9.3 soname bump --- eccodes.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eccodes.spec b/eccodes.spec index 32375c8..4d0d168 100644 --- a/eccodes.spec +++ b/eccodes.spec @@ -4,7 +4,7 @@ Name: eccodes Version: 2.42.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: WMO data format decoding and encoding # force the shared libraries to have these so versions @@ -458,6 +458,8 @@ ctest3 -V %{?_smp_mflags} %doc %{_datadir}/doc/%{name}/ %changelog +* Fri Aug 22 2025 Orion Poplawski - 2.42.0-6 +- Rebuild for netcdf 4.9.3 soname bump * Mon Aug 11 2025 Jos de Kloe - 2.42.0-5 - Forgot to update the changelog date for the previous commit, so fixed this From d72a2e3bb0745649f7ccaa0657cd7a5921ee1528 Mon Sep 17 00:00:00 2001 From: Jos de Kloe Date: Fri, 7 Nov 2025 11:50:22 +0100 Subject: [PATCH 2/3] update to v2.44.0 --- .gitignore | 1 + eccodes-soversion.patch | 10 +++++----- eccodes.spec | 8 ++++++-- sources | 1 + 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index c37fff4..e66b05a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /eccodes_test_data_20250202.tar.gz /eccodes-2.40.0-Source.tar.gz /eccodes-2.42.0-Source.tar.gz +/eccodes-2.44.0-Source.tar.gz diff --git a/eccodes-soversion.patch b/eccodes-soversion.patch index e034ca0..fd4b224 100644 --- a/eccodes-soversion.patch +++ b/eccodes-soversion.patch @@ -1,5 +1,5 @@ ---- eccodes-2.42.0-Source.unchanged/fortran/CMakeLists.txt 2025-06-30 10:44:08.000000000 +0200 -+++ eccodes-2.42.0-Source/fortran/CMakeLists.txt 2025-07-19 16:36:56.908027305 +0200 +--- eccodes-2.44.0-Source.unchanged/fortran/CMakeLists.txt 2025-10-06 11:49:11.000000000 +0200 ++++ eccodes-2.44.0-Source/fortran/CMakeLists.txt 2025-11-07 11:33:03.765320420 +0100 @@ -46,7 +46,8 @@ if( HAVE_FORTRAN ) GENERATED grib_f90.f90 eccodes_f90.f90 PUBLIC_INCLUDES $ @@ -10,9 +10,9 @@ if( DEFINED ecbuild_VERSION AND NOT ${ecbuild_VERSION} VERSION_LESS 3.1 ) # Installed module directory is not in the PUBLIC INCLUDES! ---- eccodes-2.42.0-Source.unchanged/src/eccodes/CMakeLists.txt 2025-06-30 10:44:08.000000000 +0200 -+++ eccodes-2.42.0-Source/src/eccodes/CMakeLists.txt 2025-07-19 16:36:56.908394153 +0200 -@@ -440,6 +440,8 @@ ecbuild_add_library( TARGET eccodes +--- eccodes-2.44.0-Source.unchanged/src/eccodes/CMakeLists.txt 2025-10-06 11:49:11.000000000 +0200 ++++ eccodes-2.44.0-Source/src/eccodes/CMakeLists.txt 2025-11-07 11:33:03.784437554 +0100 +@@ -447,6 +447,8 @@ ecbuild_add_library( TARGET eccodes PRIVATE_LIBS ${ECCODES_EXTRA_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${AEC_LIBRARIES} ${PNG_LIBRARIES} PUBLIC_LIBS ${CMATH_LIBRARIES} ${THREADS_LIBRARIES} TEMPLATES ${eccodes_extra_src_files} diff --git a/eccodes.spec b/eccodes.spec index 4d0d168..17e866b 100644 --- a/eccodes.spec +++ b/eccodes.spec @@ -3,8 +3,8 @@ %endif Name: eccodes -Version: 2.42.0 -Release: 6%{?dist} +Version: 2.44.0 +Release: 1%{?dist} Summary: WMO data format decoding and encoding # force the shared libraries to have these so versions @@ -458,6 +458,10 @@ ctest3 -V %{?_smp_mflags} %doc %{_datadir}/doc/%{name}/ %changelog + +* Fri Nov 07 2025 Jos de Kloe - 2.44.0-1 +- Update to 2.44.0 + * Fri Aug 22 2025 Orion Poplawski - 2.42.0-6 - Rebuild for netcdf 4.9.3 soname bump diff --git a/sources b/sources index 6cabd92..4dc5dc6 100644 --- a/sources +++ b/sources @@ -1,3 +1,4 @@ SHA512 (eccodes_test_data_20250202.tar.gz) = 8b4c7159dd7ed0e1e69068ec7dcabe94064f0d2abf9eac4fca2a9c730d500999e8edf1e7eeebba6fb12ae99b223c1b0843e31414538333c52f2508cb2d410151 SHA512 (eccodes-2.40.0-Source.tar.gz) = 39b09da398a864888f1b7da867adae63da9e512a865807c1dd0f4b76e242c46d6ec75f7db3a554c01c4fb60dd9677cd8b77bc03dac89931cbdf461c607b100c8 SHA512 (eccodes-2.42.0-Source.tar.gz) = 205246b250762ab6e7ac3050726ac5ce67ab689c8c393b153e7c084fb71edc40d64ee04e2fb32b3ad2a1426e65581126c0c8288e9088c27a7468f6b534f29b58 +SHA512 (eccodes-2.44.0-Source.tar.gz) = 63f81db07103ab3c6c0497ca3d0bae5b8a0841ed83a2b88831ddce756489a84aa394af7673c1438e2ea7a55107970cf87b8222da31321ef70ecc55cc99a3ddf5 From 412578264796d4829b722b0fb1ea6f0146a2f269 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Mon, 10 Nov 2025 17:59:52 +0100 Subject: [PATCH 3/3] Allow to build with CMake 4.0 (rhbz#2380563) --- eccodes.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eccodes.spec b/eccodes.spec index 17e866b..bed4797 100644 --- a/eccodes.spec +++ b/eccodes.spec @@ -4,7 +4,7 @@ Name: eccodes Version: 2.44.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: WMO data format decoding and encoding # force the shared libraries to have these so versions @@ -260,6 +260,8 @@ tar xf %SOURCE1 popd %build +# TODO: Please submit an issue to upstream (rhbz#2380563) +export CMAKE_POLICY_VERSION_MINIMUM=3.5 #-- The following features are disabled by default and not switched on: # @@ -459,6 +461,9 @@ ctest3 -V %{?_smp_mflags} %changelog +* Mon Nov 10 2025 Cristian Le - 2.44.0-2 +- Allow to build with CMake 4.0 (rhbz#2380563) + * Fri Nov 07 2025 Jos de Kloe - 2.44.0-1 - Update to 2.44.0