From b7d94f0c7568297b2faebcb7042039f21a0c3329 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Jul 18 2020 16:24:20 +0000 Subject: Improve compatibility with new CMake macro Signed-off-by: Igor Raits --- diff --git a/kactivitymanagerd.spec b/kactivitymanagerd.spec index bbfc522..1186607 100644 --- a/kactivitymanagerd.spec +++ b/kactivitymanagerd.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Name: kactivitymanagerd Summary: Plasma service to manage user's activities Version: 5.19.3 @@ -53,16 +55,12 @@ Provides: kactivities = %{version}-%{release} %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 kactivities5 --with-qt