Restore test during build
This commit is contained in:
parent
8f1f13a196
commit
8ec84154b3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user