From e63166aaa5847ed26ef3677598aa063e604a25a5 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Jul 08 2020 14:35:07 +0000 Subject: Improve compatibility with new CMake macro Signed-off-by: Igor Raits --- diff --git a/umr.spec b/umr.spec index 69d93ea..cb7731f 100644 --- a/umr.spec +++ b/umr.spec @@ -58,14 +58,13 @@ AMDGPU Userspace Register Debugger header files and libraries %{?disablelibdrm:-DUMR_NO_DRM=ON} \ %{?enablert:-DUMR_NEED_RT=ON} \ -DCMAKE_BUILD_TYPE="RELEASE" -%make_build +%cmake_build %install -%make_install +%cmake_install %files %doc README -%{!?_licensedir:%global license %%doc} %license LICENSE %{_bindir}/umr %{_mandir}/man1/*