public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/eccodes] f43: updated to upstream version 2.47.0 and patch fortran/CMakeLists.txt to have MOD_DESTINATION=\$ENV{DESTDIR}... as suggested in github issue #467
@ 2026-07-20 14:00 Jos de Kloe
  0 siblings, 0 replies; only message in thread
From: Jos de Kloe @ 2026-07-20 14:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/eccodes
Branch : f43
Commit : 834611e2987f402177165a44e313d9bf2388a71a
Author : Jos de Kloe <josdekloe@gmail.com>
Date   : 2026-05-02T15:13:45+02:00
Stats  : +23/-9 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/eccodes/c/834611e2987f402177165a44e313d9bf2388a71a?branch=f43

Log:
updated to upstream version 2.47.0 and patch fortran/CMakeLists.txt to have MOD_DESTINATION=\$ENV{DESTDIR}... as suggested in github issue #467

---
diff --git a/.gitignore b/.gitignore
index b436d93..ad46d5d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /eccodes_test_data_20250202.tar.gz
 /eccodes-2.46.0-Source.tar.gz
+/eccodes-2.47.0-Source.tar.gz

diff --git a/eccodes-soversion.patch b/eccodes-soversion.patch
index 79b8221..2eb8d8c 100644
--- a/eccodes-soversion.patch
+++ b/eccodes-soversion.patch
@@ -1,5 +1,5 @@
---- eccodes-2.46.0-Source.unchanged/fortran/CMakeLists.txt	2026-02-24 11:52:56.000000000 +0100
-+++ eccodes-2.46.0-Source/fortran/CMakeLists.txt	2026-03-13 14:25:36.850852958 +0100
+--- eccodes-2.47.0-Source.unchanged/fortran/CMakeLists.txt	2026-04-22 18:01:11.000000000 +0200
++++ eccodes-2.47.0-Source/fortran/CMakeLists.txt	2026-05-02 14:52:08.082073121 +0200
 @@ -74,7 +74,8 @@ if( HAVE_FORTRAN )
                           GENERATED       grib_f90.f90 eccodes_f90.f90
                           PUBLIC_INCLUDES $<BUILD_INTERFACE:${CMAKE_Fortran_MODULE_DIRECTORY}>
@@ -8,10 +8,19 @@
 +                         PRIVATE_LIBS    eccodes ${ECCODES_PTHREADS_LIBRARIES}
 +                         SOVERSION       ${ECCODES_SOVERSION_F90})
  
-     if( DEFINED ecbuild_VERSION AND NOT ${ecbuild_VERSION} VERSION_LESS 3.1 )
-         # Installed module directory is not in the PUBLIC INCLUDES!
---- eccodes-2.46.0-Source.unchanged/src/eccodes/CMakeLists.txt	2026-02-24 11:52:56.000000000 +0100
-+++ eccodes-2.46.0-Source/src/eccodes/CMakeLists.txt	2026-03-13 14:25:36.851164778 +0100
+     set(_eccodes_mod_candidates eccodes.mod ECCODES.mod grib_api.mod GRIB_API.mod)
+ 
+@@ -109,7 +110,7 @@ if( HAVE_FORTRAN )
+     # Install the contents of the fortran module directory
+     if(ECBUILD_INSTALL_FORTRAN_MODULES)
+         install( CODE  "execute_process(
+-                            COMMAND ${CMAKE_COMMAND} -D MOD_DESTINATION=\${CMAKE_INSTALL_PREFIX}/${INSTALL_INCLUDE_DIR}
++                            COMMAND ${CMAKE_COMMAND} -D MOD_DESTINATION=\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${INSTALL_INCLUDE_DIR}
+                                                      -P ${CMAKE_CURRENT_BINARY_DIR}/eccodes_f90_copy_mod.cmake )" )
+     endif()
+ 
+--- eccodes-2.47.0-Source.unchanged/src/eccodes/CMakeLists.txt	2026-04-22 18:01:11.000000000 +0200
++++ eccodes-2.47.0-Source/src/eccodes/CMakeLists.txt	2026-05-02 14:20:13.320126222 +0200
 @@ -455,6 +455,8 @@ ecbuild_add_library(
          ${CMATH_LIBRARIES}
          ${THREADS_LIBRARIES}

diff --git a/eccodes.spec b/eccodes.spec
index 64b0d7a..e8222d5 100644
--- a/eccodes.spec
+++ b/eccodes.spec
@@ -3,7 +3,7 @@
 %endif
 
 Name:           eccodes
-Version:        2.46.0
+Version:        2.47.0
 Release:        1%{?dist}
 Summary:        WMO data format decoding and encoding
 
@@ -68,8 +68,8 @@ BuildRequires:  jasper-devel
 BuildRequires:  openjpeg2-devel >= 2.5.2
 BuildRequires:  libpng-devel
 BuildRequires:  netcdf-devel
-BuildRequires:  libaec-devel
-BuildRequires:  libaec-static
+BuildRequires:  libaec-devel >= 1.1.4
+BuildRequires:  libaec-static >= 1.1.4
 
 # For tests
 BuildRequires:  perl(Getopt::Long)
@@ -479,6 +479,9 @@ export LIBRARY_PATH=%{buildroot}/%{_libdir}
 
 %changelog
 
+* Sat May 02 2026 Jos de Kloe <josdekloe@gmail.com> - 2.47.0-1
+- Update to 2.47.0
+
 * Fri Mar 13 2026 Jos de Kloe <josdekloe@gmail.com> - 2.46.0-1
 - Update to 2.46.0
 

diff --git a/sources b/sources
index fdad350..9dae2b2 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
 SHA512 (eccodes_test_data_20250202.tar.gz) = 8b4c7159dd7ed0e1e69068ec7dcabe94064f0d2abf9eac4fca2a9c730d500999e8edf1e7eeebba6fb12ae99b223c1b0843e31414538333c52f2508cb2d410151
 SHA512 (eccodes-2.46.0-Source.tar.gz) = 732ab0f23f3b56681fc103c8f8bb49ae46b06d4278c8cf0cddd99731b4bc2101910e161a3fd1b6bffeaa968d72c2e2de8ab0a9c33c23025e554302fb084d167a
+SHA512 (eccodes-2.47.0-Source.tar.gz) = 4cb0491c327d2832dc3e4b14a67a90e4d6b459c2baa132a6a37c5e7d4886eb3ea0e83dcbc95aa9487c207c685dc4ed338b743be60345a581725d2cba80e11ae8

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 14:00 [rpms/eccodes] f43: updated to upstream version 2.47.0 and patch fortran/CMakeLists.txt to have MOD_DESTINATION=\$ENV{DESTDIR}... as suggested in github issue #467 Jos de Kloe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox