diff --git a/kapptemplate.spec b/kapptemplate.spec index 77bbf7b..c3acab1 100644 --- a/kapptemplate.spec +++ b/kapptemplate.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Name: kapptemplate Summary: KDE Template generator Version: 20.04.3 @@ -58,16 +60,12 @@ Factory for the easy creation of KDE/Qt components and programs %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 %{name} --all-name --with-html