diff --git a/libksysguard.spec b/libksysguard.spec index d41c857..b8d0d7f 100644 --- a/libksysguard.spec +++ b/libksysguard.spec @@ -80,17 +80,14 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DKDE_INSTALL_INCLUDEDIR:PATH=%{_kf5_includedir} -popd - -make %{?_smp_mflags} -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install + %find_lang ksysguard_qt5 --with-qt --with-kde --all-name