From c1bc3162760e6f8db18f68874ae1d027c14229b1 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Thu, 18 Oct 2012 11:21:55 +0200 Subject: [PATCH] Fixed %check --- net-snmp.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-snmp.spec b/net-snmp.spec index a7db413..6d49432 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -352,6 +352,9 @@ rm -vf testing/fulltests/default/T200snmpv2cwalkall_simple %endif # restore libtool, for unknown reason it does not work with the one without rpath cp -f libtool.orig libtool +# temporary workaround to make test "extending agent functionality with pass" working +chmod 755 local/passtest + LD_LIBRARY_PATH=${RPM_BUILD_ROOT}/%{_libdir} make test %endif