diff --git a/libkscreen-qt5.spec b/libkscreen-qt5.spec index b9da60c..ef1145e 100644 --- a/libkscreen-qt5.spec +++ b/libkscreen-qt5.spec @@ -61,16 +61,13 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd +%{cmake_kf5} -make %{?_smp_mflags} -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %ldconfig_scriptlets