From b283a03c8f6f805a2e358b3f2ed6e99f567dd2d8 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Mon, 18 Nov 2024 17:58:45 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- plasma-workspace.spec | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/plasma-workspace.spec b/plasma-workspace.spec index dd0996f..5f1730d 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.10 -Release: 2 +Release: 3 License: GPLv2+ URL: https://invent.kde.org/plasma/%{name} @@ -277,7 +277,7 @@ developing applications that use %{name}. %package doc Summary: Documentation and user manuals for %{name} -License: GFDL +License: GPLv2+ Obsoletes: plasma-workspace-doc < 5.3.1-2 Requires: %{name}-common = %{version}-%{release} BuildArch: noarch @@ -340,16 +340,15 @@ 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 @@ -597,6 +596,9 @@ setsebool -P selinuxuser_execmod 1 %endif %changelog +* Mon Nov 18 2024 ChenYanpan - 5.27.10-3 +- adapt to the new CMake macros to fix build failure; use License GPLv2+ in doc package + * Mon Jul 08 2024 zhangxianting - 5.27.10-2 - CVE-2024-36041 -- Gitee