From 0b5e48c180d68cd400ce36e6c9260d84aec54749 Mon Sep 17 00:00:00 2001 From: huayadong Date: Tue, 19 Nov 2024 05:32:33 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- ukui-kwin.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ukui-kwin.spec b/ukui-kwin.spec index c25d93d..58f3b6f 100644 --- a/ukui-kwin.spec +++ b/ukui-kwin.spec @@ -1,6 +1,6 @@ Name: ukui-kwin Version: 1.0.5 -Release: 7 +Release: 8 Summary: KDE Window Manager for UKUI desktop environment License: GPL-2.0-or-later and LGPL-2.0-or-later URL: https://github.com/ukui/ukui-kwin @@ -98,17 +98,14 @@ Summary: UKUI window manager effects library %autosetup -n %{name}-%{version} -p1 %build -mkdir %{_target_platform} -pushd %{_target_platform} %{cmake_kf5} .. \ -DBUILD_TESTING:BOOL=ON -popd - -%make_build -C %{_target_platform} -j4 +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} + ln -s ukui-kwin_x11 %{buildroot}%{_bindir}/ukui-kwin mkdir -p %{buildroot}%{_datadir}/licenses/ukui-kwin @@ -205,6 +202,9 @@ cp COPYING* %{buildroot}%{_datadir}/licenses/ukui-kwin/ %changelog +* Wed Nov 20 2024 huayadong - 1.0.5-8 +- adapt to the new CMake macros to fix build failure + * Tue Aug 29 2023 peijiankang - 1.0.5-7 - update qt5-qttools-devel to qt5-qttools-static