From 0b76c534017f80b13e69fe8e33180b583be20181 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Aug 03 2020 16:54:32 +0000 Subject: use %%cmake_build, %%cmake_install --- diff --git a/extra-cmake-modules.spec b/extra-cmake-modules.spec index 8c74b3d..18d547f 100644 --- a/extra-cmake-modules.spec +++ b/extra-cmake-modules.spec @@ -85,20 +85,17 @@ PYTHONPATH=`pwd`/python export PYTHONPATH %endif -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%cmake_kf5 \ -DBUILD_HTML_DOCS:BOOL=%{?docs:ON}%{!?docs:OFF} \ -DBUILD_MAN_DOCS:BOOL=%{?docs:ON}%{!?docs:OFF} \ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} \ %{?sphinx_build} -popd -%make_build -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %if 0%{?clang} # hack clang-python install @@ -130,7 +127,7 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: %changelog * Mon Aug 03 2020 Rex Dieter - 5.73.0-1 -- 5.73.0 +- 5.73.0, use %%cmake_build, %%cmake_install * Sat Aug 01 2020 Fedora Release Engineering - 5.72.0-3 - Second attempt - Rebuilt for