diff --git a/kolourpaint.spec b/kolourpaint.spec index 5f64048..40b6e72 100644 --- a/kolourpaint.spec +++ b/kolourpaint.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Name: kolourpaint Summary: An easy-to-use paint program Version: 20.04.3 @@ -51,16 +53,12 @@ License: LGPLv2 %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