From ae300649b54588a5cec4328a6f7af8cc5c74bbb3 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 29 Jul 2020 07:50:04 +0200 Subject: [PATCH] Build using cmake macros --- powerdevil.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/powerdevil.spec b/powerdevil.spec index 1239387..b7a627c 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -70,16 +70,12 @@ of a daemon (a KDED module) and a KCModule for its configuration. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd - -%make_build -C %{_target_platform} +%{cmake_kf5} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %find_lang powerdevil5 --with-html --all-name