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/cdogs-sdl] rawhide: Fix FTBFS with CMake 4.x
Date: Tue, 14 Jul 2026 19:02:18 GMT [thread overview]
Message-ID: <178405573861.1.4832963930818591081.rpms-cdogs-sdl-c72456348eda@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/cdogs-sdl
Branch : rawhide
Commit : c72456348eda5164bd89e00ebe5502de2b8718aa
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-07-14T15:23:15+02:00
Stats : +5/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/cdogs-sdl/c/c72456348eda5164bd89e00ebe5502de2b8718aa?branch=rawhide
Log:
Fix FTBFS with CMake 4.x
CMake 4.x removed compatibility with 'cmake_minimum_required' versions
older than 3.5. The upstream 'CMakeLists.txt' specifies an older minimum
version, causing the build to fail.
Add '-DCMAKE_POLICY_VERSION_MINIMUM=3.5' to the '%cmake' invocation to
restore compatibility without patching upstream sources.
Resolves: rhbz#2380491
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/cdogs-sdl.spec b/cdogs-sdl.spec
index 25c921e..0f21dd7 100644
--- a/cdogs-sdl.spec
+++ b/cdogs-sdl.spec
@@ -2,7 +2,7 @@
Name: cdogs-sdl
Version: 0.7.3
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: C-Dogs is an arcade shoot-em-up
# The game-engine is GPLv2+
# The game art is CC
@@ -40,7 +40,7 @@ find graphics sounds -name "*.sh" -delete
%build
-%cmake -DCDOGS_DATA_DIR=/usr/share/cdogs-sdl/ -DUSE_SHARED_ENET=1
+%cmake -DCDOGS_DATA_DIR=/usr/share/cdogs-sdl/ -DUSE_SHARED_ENET=1 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
%cmake_build
@@ -66,6 +66,9 @@ appstream-util validate-relax --nonet \
%changelog
+* Tue Jul 14 2026 Michal Schorm <mschorm@redhat.com> - 0.7.3-18
+- Fix FTBFS with CMake 4.x by adding '-DCMAKE_POLICY_VERSION_MINIMUM=3.5' (rhbz#2380491)
+
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
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=178405573861.1.4832963930818591081.rpms-cdogs-sdl-c72456348eda@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