diff --git a/kdeedu-data.spec b/kdeedu-data.spec index 10899b9..69f7510 100644 --- a/kdeedu-data.spec +++ b/kdeedu-data.spec @@ -1,4 +1,4 @@ - +%undefine __cmake_in_source_build Name: kdeedu-data Summary: Shared icons, artwork and data files for educational applications Version: 20.04.3 @@ -37,16 +37,12 @@ Requires: kde-filesystem %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 # previous packages shipped %%{_kde4_appsdir}/kvtml , so let's # (hard)link data in in both places