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