diff --git a/kmenuedit.spec b/kmenuedit.spec index b95b909..b9332d4 100644 --- a/kmenuedit.spec +++ b/kmenuedit.spec @@ -1,3 +1,4 @@ +%undefine __cmake_in_source_build %global kf5_version 5.26.0 @@ -52,16 +53,12 @@ Conflicts: kde-workspace < 4.11.15-3 %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 kmenuedit5 --with-html --all-name