[net-snmp] Restore test during build

Jan Šafránek jsafrane at fedoraproject.org
Fri Jul 8 10:53:17 UTC 2011


commit 8ec84154b31d285d7ec78b626f2b1c22950a15ef
Author: Jan Safranek <jsafrane at redhat.com>
Date:   Fri Jul 8 09:35:09 2011 +0200

    Restore test during build

 net-snmp.spec |    8 ++++----
 1 files 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


More information about the scm-commits mailing list