diff --git a/kmag.spec b/kmag.spec index 56f7dce..2a91a0d 100644 --- a/kmag.spec +++ b/kmag.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Name: kmag Version: 20.04.3 Release: 1%{?dist} @@ -44,16 +46,12 @@ Conflicts: kdeaccessibility < 1:4.7.80 %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 --with-man