rpms/policycoreutils/devel policycoreutils.spec,1.630,1.631

Daniel J Walsh dwalsh at fedoraproject.org
Wed Aug 26 18:09:40 UTC 2009


Author: dwalsh

Update of /cvs/extras/rpms/policycoreutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11078

Modified Files:
	policycoreutils.spec 
Log Message:
* Wed Aug 26 2009 Dan Walsh <dwalsh at redhat.com> 2.0.71-11
- Add sandboxX



Index: policycoreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/policycoreutils/devel/policycoreutils.spec,v
retrieving revision 1.630
retrieving revision 1.631
diff -u -p -r1.630 -r1.631
--- policycoreutils.spec	26 Aug 2009 18:05:34 -0000	1.630
+++ policycoreutils.spec	26 Aug 2009 18:09:40 -0000	1.631
@@ -146,6 +146,7 @@ Group:	 System Environment/Base
 Requires: policycoreutils-python = %{version}-%{release} 
 Requires: xorg-x11-server-Xephyr
 Requires: matchbox-window-manager
+Requiers(post): /sbin/chkconfig
 
 %description sandbox
 The policycoreutils-python package contains the scripts to create graphical sandboxes
@@ -160,6 +161,15 @@ The policycoreutils-python package conta
 [ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen 
 exit 0
 
+%post sandbox
+if [ $1 -eq 1 ]; then
+   /sbin/chkconfig sanbox --add
+fi
+%preun sandbox
+if [ $1 -eq 0 ]; then
+   /sbin/chkconfig sanbox --del
+fi
+
 %package newrole
 Summary: The newrole application for RBAC/MLS 
 Group: System Environment/Base




More information about the fedora-extras-commits mailing list