From bbf1f9240a970d4058d51302ab69173b185b1351 Mon Sep 17 00:00:00 2001 From: Erich Eickmeyer Date: Mon, 3 Aug 2020 18:09:40 -0700 Subject: [PATCH] Switch to new cmake macros --- libinstpatch.spec | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/libinstpatch.spec b/libinstpatch.spec index 0c48eb1..b9b78ca 100644 --- a/libinstpatch.spec +++ b/libinstpatch.spec @@ -43,18 +43,11 @@ This package includes the development libraries and header files for %build -mkdir -p %{_target_platform} -pushd %{_target_platform} -%{cmake} .. -popd - -make %{?_smp_mflags} -C %{_target_platform} - +%cmake +%cmake_build %install -make install DESTDIR=%{buildroot} -C %{_target_platform} - - +%cmake_install %ldconfig_scriptlets