rpms/xguest/devel xguest.spec,1.16,1.17

Daniel J Walsh dwalsh at fedoraproject.org
Mon Jan 25 20:07:45 UTC 2010


Author: dwalsh

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

Modified Files:
	xguest.spec 
Log Message:
* Mon Jan 25 2009 Dan Walsh <dwalsh at redhat.com> - 1.0.8-2
- Fix sabayon installation



Index: xguest.spec
===================================================================
RCS file: /cvs/extras/rpms/xguest/devel/xguest.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- xguest.spec	25 Nov 2009 16:41:01 -0000	1.16
+++ xguest.spec	25 Jan 2010 20:07:44 -0000	1.17
@@ -1,7 +1,7 @@
 Summary: Creates xguest user as a locked down user 
 Name: xguest
 Version: 1.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 BuildArch: noarch
@@ -35,7 +35,7 @@ mounted on tmpfs.
 %{__rm} -fR %{buildroot}
 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/desktop-profiles
 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/security/namespace.d/ls
-install -m0644 xguest.zip %{buildroot}/%{_sysconfdir}/desktop-profiles/
+install -m0644 xguest.zip %{buildroot}/%{_sysconfdir}/sabayon/
 install -m0644 xguest.conf %{buildroot}/%{_sysconfdir}/security/namespace.d/
 
 %pre
@@ -62,8 +62,8 @@ mkdir /etc/skel/.mozilla 2> /dev/null
 mkdir /etc/skel/.gnome2 2> /dev/null
 
 /usr/bin/python << __eof
-from sabayon import userdb
-db = userdb.get_database()
+from sabayon import systemdb
+db = systemdb.get_user_database()
 db.set_profile("xguest", "xguest.zip")
 __eof
 
@@ -88,6 +88,9 @@ __eof
 fi
 
 %changelog
+* Mon Jan 25 2009 Dan Walsh <dwalsh at redhat.com> - 1.0.8-2
+- Fix sabayon installation
+
 * Wed Nov 25 2009 Dan Walsh <dwalsh at redhat.com> - 1.0.8-1
 - Fix sabayon file
 



More information about the scm-commits mailing list