Restore test during build

This commit is contained in:
Jan Safranek 2011-07-08 09:35:09 +02:00
parent 8f1f13a196
commit 8ec84154b3

View File

@ -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