diff --git a/kblackbox.spec b/kblackbox.spec index f48a945..f90ff5e 100644 --- a/kblackbox.spec +++ b/kblackbox.spec @@ -1,3 +1,4 @@ +%undefine __cmake_in_source_build Name: kblackbox Summary: A game of hide and seek played on a grid of boxes @@ -64,16 +65,12 @@ the better (the lower) your score. %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 %{name} --all-name --with-html