public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icemon] rawhide: Fix rhbz#2504133 - icemon: FTBFS in Fedora rawhide/f45
@ 2026-07-26 19:42 Jan Kratochvil
  0 siblings, 0 replies; only message in thread
From: Jan Kratochvil @ 2026-07-26 19:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/icemon
Branch : rawhide
Commit : 5656f9e0453116efbe4a67b79d20df7a73fd498f
Author : Jan Kratochvil <jan@jankratochvil.net>
Date   : 2026-07-26T21:42:01+02:00
Stats  : +23/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/icemon/c/5656f9e0453116efbe4a67b79d20df7a73fd498f?branch=rawhide

Log:
Fix rhbz#2504133 - icemon: FTBFS in Fedora rawhide/f45

---
diff --git a/cmake-version.patch b/cmake-version.patch
new file mode 100644
index 0000000..5331a44
--- /dev/null
+++ b/cmake-version.patch
@@ -0,0 +1,18 @@
+commit b07bf3eb0c28ac5cd527d3ab675d2273d1866b48
+Author: Sergio Martins <sergio.martins@kdab.com>
+Date:   Mon Apr 28 03:39:49 2025 +0100
+
+    Fix build with CMake 4.0
+    
+    Newer CMake doesn't support such old minimum version
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6be47d3..e149f84 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1.0)
++cmake_minimum_required(VERSION 3.10.0)
+ project(icemon VERSION 3.3)
+ 
+ find_package(ECM REQUIRED NO_MODULE)

diff --git a/icemon.spec b/icemon.spec
index af1ec8f..cc5b2c1 100644
--- a/icemon.spec
+++ b/icemon.spec
@@ -1,6 +1,6 @@
 Name:           icemon
 Version:        3.3
-Release:        19%{?dist}
+Release:        20%{?dist}
 Summary:        Icecream GUI monitor
 
 # Automatically converted from old format: GPLv2+ - review is highly recommended.
@@ -11,6 +11,7 @@ Source1:        icemon.metainfo.xml
 # Backport of docbook -> asciidoc from upstream
 # https://github.com/icecc/icemon/commit/479490ffbe0d13ed3059b67241671cb78521a10a
 Patch1:         icemon-asciidoc.patch
+Patch2:         cmake-version.patch
 
 BuildRequires:    gcc-c++
 BuildRequires:    pkgconfig(icecc) >= 1.3
@@ -54,6 +55,9 @@ install -m644 -D %{SOURCE1} %{buildroot}/%{_metainfodir}/%{name}.metainfo.xml
 %doc CHANGELOG.md README.md
 
 %changelog
+* Sun Jul 26 2026 Jan Kratochvil <jan@jankratochvil.net> - 3.3-20
+- Fix rhbz#2504133 - icemon: FTBFS in Fedora rawhide/f45
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-26 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-26 19:42 [rpms/icemon] rawhide: Fix rhbz#2504133 - icemon: FTBFS in Fedora rawhide/f45 Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox