diff --git a/kcm_wacomtablet.spec b/kcm_wacomtablet.spec index d57fe14..ec05fe8 100644 --- a/kcm_wacomtablet.spec +++ b/kcm_wacomtablet.spec @@ -1,3 +1,4 @@ +%undefine __cmake_in_source_build Name: kcm_wacomtablet Summary: KDE Control module for Wacom Graphictablets @@ -55,16 +56,12 @@ with profile support to handle different button/pen layouts per profile. %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