From 22413c9ccd26f02ba61de35b814a1585338a7f7f Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Tue, 26 Nov 2024 12:00:29 +0800 Subject: [PATCH] adopt to new cmake macro (cherry picked from commit 1006d2d407abf17f29bec9c3a99157a143355e0d) --- ukui-window-switch.spec | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/ukui-window-switch.spec b/ukui-window-switch.spec index d24c7f6..ee8fd29 100644 --- a/ukui-window-switch.spec +++ b/ukui-window-switch.spec @@ -1,6 +1,6 @@ Name: ukui-window-switch Version: 4.0.0.0 -Release: 1 +Release: 2 Summary: Front of the window switch License: GPL-2+ and BSD-2-clause and BSD-3-clause URL: http://www.ukui.org @@ -43,24 +43,14 @@ BuildRequires: qt5-qttools-devel icons) when the window is switching (press Alt+Tab key). %prep -%setup -q -%patch01 -p1 -%patch02 -p1 +%autosetup -p1 %build -mkdir build && pushd build -%cmake .. -%{make_build} -popd +%cmake +%{cmake_build} %install -rm -rf $RPM_BUILD_ROOT -pushd build -%{make_install} DESTDIR=%{buildroot} -popd - -%clean -rm -rf $RPM_BUILD_ROOT +%{cmake_install} %files %{_bindir}/ukui-window-switch @@ -70,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/kwin/tabbox/thumbnail_grid/metadata.desktop %changelog +* Tue Nov 26 2024 Funda Wang - 4.0.0.0-2 +- adopt to new cmake macro + * Thu Mar 28 2024 huayadong - 4.0.0.0-1 - update version to 4.0.0.0 -- Gitee