rpms/xguest/devel xguest.spec,1.14,1.15

Daniel J Walsh dwalsh at fedoraproject.org
Thu Aug 27 14:36:40 UTC 2009


Author: dwalsh

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

Modified Files:
	xguest.spec 
Log Message:
* Wed Aug 26 2009 Dan Walsh <dwalsh at redhat.com> - 1.0.7-7
- Switch to use policycoreutils-sandbox init script



Index: xguest.spec
===================================================================
RCS file: /cvs/extras/rpms/xguest/devel/xguest.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- xguest.spec	27 Jul 2009 08:04:18 -0000	1.14
+++ xguest.spec	27 Aug 2009 14:36:40 -0000	1.15
@@ -1,7 +1,7 @@
 Summary: Creates xguest user as a locked down user 
 Name: xguest
 Version: 1.0.7
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 BuildArch: noarch
@@ -11,7 +11,7 @@ URL: http://people.fedoraproject.org/~dw
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(pre): pam >= 0.99.8.1-17 selinux-policy > 3.6.3-12 selinux-policy-base
-Requires(pre): policycoreutils-python
+Requires(pre): policycoreutils-sandbox
 Requires(post): sabayon-apply
 Requires: gdm >= 1:2.20.0-15.fc8
 
@@ -34,11 +34,9 @@ mounted on tmpfs.
 %install
 %{__rm} -fR %{buildroot}
 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/desktop-profiles
-%{__mkdir} -p %{buildroot}/%{_sysconfdir}/rc.d/init.d
 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/security/namespace.d/ls
 install -m0644 xguest.zip %{buildroot}/%{_sysconfdir}/desktop-profiles/
 install -m0644 xguest.conf %{buildroot}/%{_sysconfdir}/security/namespace.d/
-install -m0755 xguest.init %{buildroot}/%{_sysconfdir}/rc.d/init.d/xguest
 
 %pre
 if [ $1 -eq 1 ]; then
@@ -58,7 +56,6 @@ fi
 
 %post
 if [ $1 -eq 1 ]; then
-/sbin/chkconfig xguest --add
 
 # Add two directories to /etc/skell so pam_namespace will label properly
 mkdir /etc/skel/.mozilla 2> /dev/null
@@ -75,7 +72,6 @@ fi
 %files
 %defattr(-,root,root)
 %config(noreplace) %{_sysconfdir}/desktop-profiles/xguest.zip
-%{_sysconfdir}/rc.d/init.d/xguest
 %{_sysconfdir}/security/namespace.d/
 %doc README LICENSE
 
@@ -89,10 +85,12 @@ db = userdb.get_database()
 db.set_profile("xguest", "")
 __eof
 
-/sbin/chkconfig --del xguest 
 fi
 
 %changelog
+* Wed Aug 26 2009 Dan Walsh <dwalsh at redhat.com> - 1.0.7-7
+- Switch to use policycoreutils-sandbox init script
+
 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.7-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the scm-commits mailing list