From 1566f590fbe0233bf77c5afe8a5b2be70656b9fc Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 29 Jul 2020 07:33:24 +0200 Subject: [PATCH] Build using cmake macros --- libkscreen-qt5.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libkscreen-qt5.spec b/libkscreen-qt5.spec index b9da60c..ef1145e 100644 --- a/libkscreen-qt5.spec +++ b/libkscreen-qt5.spec @@ -61,16 +61,13 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd +%{cmake_kf5} -make %{?_smp_mflags} -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %ldconfig_scriptlets