diff --git a/numactl.spec b/numactl.spec index 7984080..dc892ad 100644 --- a/numactl.spec +++ b/numactl.spec @@ -48,13 +48,11 @@ Provides development headers for numa library calls # https://fedoraproject.org/wiki/RPath_Packaging_Draft#Removing_Rpath sed -i -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make clean -make CFLAGS="$RPM_OPT_FLAGS -I." +%make_build %install rm -rf $RPM_BUILD_ROOT - -make DESTDIR=$RPM_BUILD_ROOT install +%make_install %ldconfig_scriptlets %ldconfig_scriptlets libs