public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/shippy] rawhide: Fix FTBFS with CMake 4.x
Date: Tue, 14 Jul 2026 19:02:48 GMT	[thread overview]
Message-ID: <178405576892.1.10990128822451035056.rpms-shippy-53908d87ee01@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/shippy
            Branch : rawhide
            Commit : 53908d87ee012ea3a410ce16e5e64f7cd36b5e9b
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-07-13T19:19:59+02:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/shippy/c/53908d87ee012ea3a410ce16e5e64f7cd36b5e9b?branch=rawhide

            Log:
            Fix FTBFS with CMake 4.x

Add '-DCMAKE_POLICY_VERSION_MINIMUM=3.5' to '%cmake' invocation
to work around CMake 4.x dropping support for
'cmake_minimum_required' versions below 3.5.

Resolves: rhbz#2381447

Co-Authored-By: Claude AI <noreply@anthropic.com>

---
diff --git a/shippy.spec b/shippy.spec
index 1fd4668..fc330e6 100644
--- a/shippy.spec
+++ b/shippy.spec
@@ -25,7 +25,7 @@ mv docs html
 
 
 %build
-%cmake
+%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5
 %cmake_build
 
 

                 reply	other threads:[~2026-07-14 19:02 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=178405576892.1.10990128822451035056.rpms-shippy-53908d87ee01@fedoraproject.org \
    --to=mschorm@redhat.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