diff --git a/okteta.spec b/okteta.spec index c16a916..40b880f 100644 --- a/okteta.spec +++ b/okteta.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Name: okteta Summary: Binary/hex editor Epoch: 1 @@ -91,16 +93,12 @@ Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} %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