public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/eccodes] f43: adapt soversion patch to changes in fortran/CMakeLists.txt file.
@ 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 : 339d0549b1aeaebcadad7cf45292bac392cb05e8
Author : Jos de Kloe <josdekloe@gmail.com>
Date   : 2026-07-20T14:48:53+02:00
Stats  : +7/-16 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/eccodes/c/339d0549b1aeaebcadad7cf45292bac392cb05e8?branch=f43

Log:
adapt soversion patch to changes in fortran/CMakeLists.txt file.

---
diff --git a/eccodes-soversion.patch b/eccodes-soversion.patch
index 2eb8d8c..c580033 100644
--- a/eccodes-soversion.patch
+++ b/eccodes-soversion.patch
@@ -1,5 +1,5 @@
---- 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
+--- eccodes-2.48.0-Source.unchanged/fortran/CMakeLists.txt	2026-07-15 13:22:02.000000000 +0200
++++ eccodes-2.48.0-Source/fortran/CMakeLists.txt	2026-07-20 13:54:42.355327707 +0200
 @@ -74,7 +74,8 @@ if( HAVE_FORTRAN )
                           GENERATED       grib_f90.f90 eccodes_f90.f90
                           PUBLIC_INCLUDES $<BUILD_INTERFACE:${CMAKE_Fortran_MODULE_DIRECTORY}>
@@ -8,20 +8,11 @@
 +                         PRIVATE_LIBS    eccodes ${ECCODES_PTHREADS_LIBRARIES}
 +                         SOVERSION       ${ECCODES_SOVERSION_F90})
  
-     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(
+     add_custom_command( TARGET     eccodes_f90 POST_BUILD
+                         COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_Fortran_MODULE_DIRECTORY} ${CMAKE_BINARY_DIR}/include )
+--- eccodes-2.48.0-Source.unchanged/src/eccodes/CMakeLists.txt	2026-07-15 13:22:02.000000000 +0200
++++ eccodes-2.48.0-Source/src/eccodes/CMakeLists.txt	2026-07-20 13:54:42.355915512 +0200
+@@ -452,6 +452,8 @@ ecbuild_add_library(
          ${CMATH_LIBRARIES}
          ${THREADS_LIBRARIES}
      TEMPLATES ${eccodes_extra_src_files}

^ 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: adapt soversion patch to changes in fortran/CMakeLists.txt file 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