diff --git a/net-snmp.spec b/net-snmp.spec index 136ddbe..d0024e4 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -320,11 +320,11 @@ mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/tmpfiles.d/ install -m 644 %SOURCE9 $RPM_BUILD_ROOT/%{_sysconfdir}/tmpfiles.d/net-snmp.conf %check -#%if %{netsnmp_check} +%if %{netsnmp_check} # restore libtool, for unknown reason it does not work with the one without rpath -#cp -f libtool.orig libtool -#LD_LIBRARY_PATH=${RPM_BUILD_ROOT}/%{_libdir} make test -#%endif +cp -f libtool.orig libtool +LD_LIBRARY_PATH=${RPM_BUILD_ROOT}/%{_libdir} make test +%endif %post