SPECS: audit.spec - remove /usr/lib/python2.4 if built without pyt...

sparky sparky at pld-linux.org
Wed Sep 13 17:13:23 CEST 2006


Author: sparky                       Date: Wed Sep 13 15:13:23 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- remove /usr/lib/python2.4 if built without python to prevent dependancy
  checking
- audispd moved to python subpackage (it's a python script and requires
  AuditMsg module)

---- Files affected:
SPECS:
   audit.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/audit.spec
diff -u SPECS/audit.spec:1.27 SPECS/audit.spec:1.28
--- SPECS/audit.spec:1.27	Tue Sep 12 20:25:49 2006
+++ SPECS/audit.spec	Wed Sep 13 17:13:18 2006
@@ -163,6 +163,8 @@
 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.py
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
+%else
+rm -r $RPM_BUILD_ROOT%{_prefix}/lib/python2.4
 %endif
 
 %clean
@@ -184,7 +186,6 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README THANKS TODO sample.rules
-%attr(750,root,root) %{_sbindir}/audispd
 %attr(750,root,root) %{_sbindir}/auditctl
 %attr(750,root,root) %{_sbindir}/auditd
 %attr(750,root,root) %{_sbindir}/aureport
@@ -221,6 +222,7 @@
 %if %{with python}
 %files -n python-audit
 %defattr(644,root,root,755)
+%attr(750,root,root) %{_sbindir}/audispd
 %attr(755,root,root) %{py_sitedir}/_audit.so
 %{py_sitescriptdir}/audit.py[co]
 %{py_sitedir}/AuditMsg.py[co]
@@ -232,6 +234,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2006/09/13 15:13:18  sparky
+- remove /usr/lib/python2.4 if built without python to prevent dependancy
+  checking
+- audispd moved to python subpackage (it's a python script and requires
+  AuditMsg module)
+
 Revision 1.27  2006/09/12 18:25:49  qboosh
 - updated to 1.2.6, updated swit-fix patch, added install patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/audit.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list