From 0a371c69dcb0eb04af16409d6b88251e899c9ed9 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Tue, 19 Nov 2024 11:03:12 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure (cherry picked from commit 7fdbe5411cee2b9c42fdba009a0b0d6dc8037256) --- kwin.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/kwin.spec b/kwin.spec index 598d633..1770c6d 100644 --- a/kwin.spec +++ b/kwin.spec @@ -8,7 +8,7 @@ Name: kwin Version: 5.27.10 -Release: 1 +Release: 2 Summary: KDE Window manager # all sources are effectively GPLv2+, except for: @@ -229,17 +229,14 @@ sed -i \ %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} -popd -%make_build -C %{_target_platform} +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %find_lang %{name} --with-html --all-name grep "%{_kf5_docdir}" %{name}.lang > %{name}-doc.lang @@ -333,6 +330,9 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: %changelog +* Tue Nov 19 2024 ChenYanpan - 5.27.10-2 +- adapt to the new CMake macros to fix build failure + * Mon Jan 08 2024 zhangxianting - 5.27.10-1 - update to upstream version 5.27.10 @@ -356,4 +356,3 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: * Fri Aug 07 2020 weidong - 5.15.4-1 - Initial release for OpenEuler - -- Gitee