From 9ebe3651e85610ed00a5282ba1ac7ca5e20b2501 Mon Sep 17 00:00:00 2001 From: tangjie02 Date: Wed, 20 Nov 2024 09:59:53 +0800 Subject: [PATCH] feature(spec): adapt to the new CMake macros to fix build failure Signed-off-by: tangjie02 --- plasma-workspace.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/plasma-workspace.spec b/plasma-workspace.spec index 4498a9a..b192764 100644 --- a/plasma-workspace.spec +++ b/plasma-workspace.spec @@ -11,7 +11,7 @@ Name: plasma-workspace Summary: Plasma workspace, applications and applets Version: 5.27.11 -Release: 2 +Release: 3 License: GPLv2+ URL: https://invent.kde.org/plasma/%{name} @@ -341,16 +341,14 @@ Requires: xsetroot %patch110 -p1 %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ %{?with_wayland_default:-DPLASMA_WAYLAND_DEFAULT_SESSION:BOOL=ON} -popd -%make_build -C %{_target_platform} + +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install chrpath --delete %{buildroot}%{_kf5_qtplugindir}/phonon_platform/kde.so @@ -598,6 +596,9 @@ setsebool -P selinuxuser_execmod 1 %endif %changelog +* Wed Nov 20 2024 tangjie02 - 5.27.11-3 +- adapt to the new CMake macros to fix build failure + * Mon Jul 08 2024 zhangxianting - 5.27.11-2 - CVE-2024-36041 -- Gitee