public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kactivities] f45: Fix rhbz#2380668, rhbz#2504157 - FTBFS with CMake 4
@ 2026-08-12 14:32 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-12 14:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/kactivities
Branch : f45
Commit : 0a22a814e4f9a43a9122f858a4b9c182f7b4a91d
Author : Than Ngo <than@redhat.com>
Date   : 2026-08-12T16:22:39+02:00
Stats  : +15/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/kactivities/c/0a22a814e4f9a43a9122f858a4b9c182f7b4a91d?branch=f45

Log:
Fix rhbz#2380668, rhbz#2504157 - FTBFS with CMake 4

---
diff --git a/kactivities-FTBFS-cmake4.patch b/kactivities-FTBFS-cmake4.patch
new file mode 100644
index 0000000..7512137
--- /dev/null
+++ b/kactivities-FTBFS-cmake4.patch
@@ -0,0 +1,9 @@
+diff -up kactivities-4.13.3/CMakeLists.txt.me kactivities-4.13.3/CMakeLists.txt
+--- kactivities-4.13.3/CMakeLists.txt.me	2026-06-30 17:51:50.684788262 +0200
++++ kactivities-4.13.3/CMakeLists.txt	2026-06-30 17:52:16.847688378 +0200
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 2.8.12...3.5)
++
+ project (KACTIVITIES)
+ 
+ find_package (KDE4 REQUIRED)

diff --git a/kactivities.spec b/kactivities.spec
index 7f2489b..8d0979b 100644
--- a/kactivities.spec
+++ b/kactivities.spec
@@ -12,7 +12,7 @@
 Name:    kactivities
 Summary: API for using and interacting with Activities 
 Version: 4.13.3
-Release: 46%{?dist}
+Release: 47%{?dist}
 
 # Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended.
 License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
@@ -24,6 +24,7 @@ URL:     https://projects.kde.org/projects/kde/kdelibs/kactivities
 %global stable stable
 %endif
 Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
+Patch: kactivities-FTBFS-cmake4.patch
 
 BuildRequires: kdelibs4-devel >= %{version}
 %if ! 0%{?nepomuk}
@@ -99,7 +100,7 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
 
 
 %prep
-%setup -q 
+%autosetup -p1 
 
 
 %build
@@ -203,6 +204,9 @@ rm -fv %{buildroot}%{_kde4_datadir}/kde4/servicetypes/activitymanager-plugin.des
 
 
 %changelog
+* Wed Aug 12 2026 Than Ngo <than@redhat.com> - 4.13.3-47
+- Fix rhbz#2380668, rhbz#2504157 - FTBFS with CMake 4
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.13.3-46
 - 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-08-12 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 14:32 [rpms/kactivities] f45: Fix rhbz#2380668, rhbz#2504157 - FTBFS with CMake 4 Than Ngo

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