diff --git a/ksshaskpass.spec b/ksshaskpass.spec index 0d88578..adc1e6c 100644 --- a/ksshaskpass.spec +++ b/ksshaskpass.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Name: ksshaskpass Version: 5.19.3 Release: 1%{?dist} @@ -33,16 +35,12 @@ BuildRequires: pkgconfig(Qt5Core) %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd - -make %{?_smp_mflags} -C %{_target_platform} +%{cmake_kf5} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %find_lang ksshaskpass