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/openlierox] rawhide: Fix FTBFS with CMake 4.x by setting 'CMAKE_POLICY_VERSION_MINIMUM=3.5'
Date: Wed, 15 Jul 2026 19:40:34 GMT [thread overview]
Message-ID: <178414443456.1.14618066642954138414.rpms-openlierox-ead08ba39a14@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/openlierox
Branch : rawhide
Commit : ead08ba39a148f42892d5a8e2c972f45b9d12238
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-07-13T19:19:59+02:00
Stats : +6/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/openlierox/c/ead08ba39a148f42892d5a8e2c972f45b9d12238?branch=rawhide
Log:
Fix FTBFS with CMake 4.x by setting 'CMAKE_POLICY_VERSION_MINIMUM=3.5'
CMake 4.x removed compatibility with 'cmake_minimum_required' versions
below 3.5. While the existing 'openlierox_CMake4.0.patch' bumps the
version in the main 'CMakeLists.txt' and 'CMakeOlxCommon.cmake', add
'-DCMAKE_POLICY_VERSION_MINIMUM=3.5' to the '%cmake' invocation as a
global override to catch any remaining cmake files with old version
requirements.
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/openlierox.spec b/openlierox.spec
index 30d9ac6..5a93925 100644
--- a/openlierox.spec
+++ b/openlierox.spec
@@ -4,7 +4,7 @@ Name: openlierox
# Because we downgraded from 0.59 to 0.58 as 0.59 never became stable
Epoch: 1
Version: 0.58
-Release: 0.39.%{prever}%{?dist}
+Release: 0.40.%{prever}%{?dist}
Summary: Addictive realtime multi-player 2D shoot-em-up
# Automatically converted from old format: LGPLv2+ - review is highly recommended.
License: LicenseRef-Callaway-LGPLv2+
@@ -53,7 +53,8 @@ rm -rf share/gamedir/scripts share/gamedir/cfg/*.py
%build
-%cmake -DDEBUG=OFF -DHAWKNL_BUILTIN=OFF -DBREAKPAD=OFF -DSYSTEM_DATA_DIR=%{_datadir}
+%cmake -DDEBUG=OFF -DHAWKNL_BUILTIN=OFF -DBREAKPAD=OFF -DSYSTEM_DATA_DIR=%{_datadir} \
+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5
%cmake_build
@@ -90,6 +91,9 @@ appstream-util validate-relax --nonet \
%changelog
+* Mon Jul 13 2026 Michal Schorm <mschorm@redhat.com> - 1:0.58-0.40.rc5
+- Fix FTBFS with CMake 4.x by setting 'CMAKE_POLICY_VERSION_MINIMUM=3.5'
+
* Mon Feb 16 2026 Cristian Le <git@lecris.dev> - 1:0.58-0.39.rc5
- Allow to build with Ninja (rhbz#2381087)
- Allow to build with CMake 4.0 (rhbz#2381339)
reply other threads:[~2026-07-15 19:40 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=178414443456.1.14618066642954138414.rpms-openlierox-ead08ba39a14@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