public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jos de Kloe <josdekloe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/eccodes] rawhide: adapt soversion patch to changes in fortran/CMakeLists.txt file.
Date: Mon, 20 Jul 2026 12:49:46 GMT	[thread overview]
Message-ID: <178455178602.1.1884144213504223355.rpms-eccodes-339d0549b1ae@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/eccodes
Branch : rawhide
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=rawhide

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}

                 reply	other threads:[~2026-07-20 12:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178455178602.1.1884144213504223355.rpms-eccodes-339d0549b1ae@fedoraproject.org \
    --to=josdekloe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox