From e80342ac5a0a5f43b00ba0c5fcdf8f8b237f65cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Thu, 4 Feb 2021 14:00:36 +0100 Subject: [PATCH] Use make and make install macros --- net-snmp.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 5d1c14a..8bb3e15 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -296,7 +296,7 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool # the package is not %%_smp_mflags safe -make +%{__make} # remove rpath from compiled perl libs find perl/blib -type f -name "*.so" -print -exec chrpath --delete {} \; @@ -308,7 +308,7 @@ popd %install -make install DESTDIR=%{buildroot} +%{make_install} # Determine which arch net-snmp-config.h is going to try to #include. basearch=%{_arch} @@ -505,6 +505,7 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test %changelog * Thu Feb 04 2021 Josef Ridky - 1:5.9-7 - remove file with unsupported license +- use make and make install macros * Thu Jan 28 2021 Josef Ridky - 1:5.9-6 - add support for digests detected from ECC certificates