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