From 5f12c7d4089998b50bae1de86fd9d04f78fbe012 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Jul 18 2020 15:38:28 +0000 Subject: Improve compatibility with new CMake macro Signed-off-by: Igor Raits --- diff --git a/kde-partitionmanager.spec b/kde-partitionmanager.spec index 9f24d30..348211d 100644 --- a/kde-partitionmanager.spec +++ b/kde-partitionmanager.spec @@ -1,3 +1,4 @@ +%undefine __cmake_in_source_build %global unstable 0 Name: kde-partitionmanager @@ -57,16 +58,12 @@ manipulate filesystems. %build -mkdir -p %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd - -make %{?_smp_mflags} -C %{_target_platform} +%{cmake_kf5} +%cmake_build %install -make install/fast -C %{_target_platform} DESTDIR=%{buildroot} +%cmake_install %find_lang partitionmanager --with-kde --with-html %check