Use %make_build and %make_install macros.
Signed-off-by: Filipe Brandenburger <filbranden@gmail.com>
This commit is contained in:
parent
d5b6ba4459
commit
75238a36b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user