SPECS: net-snmp.spec - fix without python build

areq areq at pld-linux.org
Sat Nov 1 16:45:46 CET 2008


Author: areq                         Date: Sat Nov  1 15:45:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix without python build

---- Files affected:
SPECS:
   net-snmp.spec (1.126 -> 1.127) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.126 SPECS/net-snmp.spec:1.127
--- SPECS/net-snmp.spec:1.126	Sat Nov  1 16:18:47 2008
+++ SPECS/net-snmp.spec	Sat Nov  1 16:45:41 2008
@@ -527,8 +527,10 @@
 rm -f $RPM_BUILD_ROOT%{_libdir}/libsnmp.a
 %endif
 
+%if %{with python}
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/netsnmp/tests
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/netsnmp/*.py
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -756,6 +758,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.127  2008/11/01 15:45:41  areq
+- fix without python build
+
 Revision 1.126  2008/11/01 15:18:47  arekm
 - up to 5.4.2.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/net-snmp.spec?r1=1.126&r2=1.127&f=u



More information about the pld-cvs-commit mailing list