rpms/setroubleshoot/devel setroubleshoot.init, 1.12, 1.13 setroubleshoot.spec, 1.93, 1.94

John Dennis (jdennis) fedora-extras-commits at redhat.com
Fri Dec 28 16:17:40 UTC 2007


Author: jdennis

Update of /cvs/pkgs/rpms/setroubleshoot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19732

Modified Files:
	setroubleshoot.init setroubleshoot.spec 
Log Message:
clear the database if previous version less than 2.0



Index: setroubleshoot.init
===================================================================
RCS file: /cvs/pkgs/rpms/setroubleshoot/devel/setroubleshoot.init,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- setroubleshoot.init	24 Sep 2007 20:58:48 -0000	1.12
+++ setroubleshoot.init	28 Dec 2007 16:17:01 -0000	1.13
@@ -110,6 +110,7 @@
     [ $running == 1 ] && stop
     echo $"Clearing database"
     rm -f /var/lib/setroubleshoot/database.xml
+    rm -f /var/lib/setroubleshoot/audit_listener_database.xml
     [ $running == 1 ] && start
     return 0
 }


Index: setroubleshoot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/setroubleshoot/devel/setroubleshoot.spec,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- setroubleshoot.spec	28 Dec 2007 15:46:04 -0000	1.93
+++ setroubleshoot.spec	28 Dec 2007 16:17:01 -0000	1.94
@@ -1,7 +1,7 @@
 Summary: Helps troubleshoot SELinux problems
 Name: setroubleshoot
 Version: 2.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: https://hosted.fedoraproject.org/projects/setroubleshoot
@@ -141,7 +141,7 @@
     /sbin/chkconfig --del %{name}
 fi
 
-%triggerpostun -- setroubleshoot <= 0.35-1
+%triggerpostun -- setroubleshoot < 2.0.0
 /sbin/service %{name} cleardb
 
 %clean 
@@ -185,6 +185,9 @@
 %attr(0755,root,root) /etc/rc.d/init.d/%{name}
 
 %changelog
+* Fri Dec 28 2007  <jdennis at redhat.com> - 2.0.0-3
+	- clear the previous database, it's not compatible with v2.0
+
 * Fri Dec 28 2007  <jdennis at redhat.com> - 2.0.0-2
 	- fix requires for plugins
 




More information about the fedora-extras-commits mailing list