From 8ec84154b31d285d7ec78b626f2b1c22950a15ef Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Fri, 8 Jul 2011 09:35:09 +0200 Subject: [PATCH] Restore test during build --- net-snmp.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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