rpms/sabayon/F-12 sabayon.spec,1.64,1.65 selinux.patch,1.2,1.3

Tomas Bzatek tbzatek at fedoraproject.org
Fri Oct 23 09:40:44 UTC 2009


Author: tbzatek

Update of /cvs/extras/rpms/sabayon/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27623

Modified Files:
	sabayon.spec selinux.patch 
Log Message:
* Fri Oct 23 2009 Dan Walsh <dwalsh at redhat.com> - 2.28.0-2
- Move errors to sabayon-apply package
- Only trap Exception on sabayon-apply error



Index: sabayon.spec
===================================================================
RCS file: /cvs/extras/rpms/sabayon/F-12/sabayon.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -p -r1.64 -r1.65
--- sabayon.spec	22 Sep 2009 08:37:24 -0000	1.64
+++ sabayon.spec	23 Oct 2009 09:40:44 -0000	1.65
@@ -8,7 +8,7 @@
 
 Name:    sabayon
 Version: 2.28.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Tool to maintain user profiles in a GNOME desktop
 
 Group:   Applications/System
@@ -194,6 +194,9 @@ fi
 %{python_sitearch}/%{name}/debuglog.py
 %{python_sitearch}/%{name}/debuglog.pyc
 %ghost %{python_sitearch}/%{name}/debuglog.pyo
+%{python_sitearch}/%{name}/errors.py
+%{python_sitearch}/%{name}/errors.pyc
+%ghost %{python_sitearch}/%{name}/errors.pyo
 
 %dir %{python_sitearch}/%{name}/sources
 %{python_sitearch}/%{name}/sources/*.py
@@ -259,9 +262,6 @@ fi
 %{python_sitearch}/%{name}/lockdownappliersabayon.py
 %{python_sitearch}/%{name}/lockdownappliersabayon.pyc
 %ghost %{python_sitearch}/%{name}/lockdownappliersabayon.pyo
-%{python_sitearch}/%{name}/errors.py
-%{python_sitearch}/%{name}/errors.pyc
-%ghost %{python_sitearch}/%{name}/errors.pyo
 
 %dir %{python_sitearch}/%{name}/lockdown
 %{python_sitearch}/%{name}/lockdown/*.py
@@ -269,6 +269,10 @@ fi
 %ghost %{python_sitearch}/%{name}/lockdown/*.pyo
 
 %changelog
+* Fri Oct 23 2009 Dan Walsh <dwalsh at redhat.com> - 2.28.0-2
+- Move errors to sabayon-apply package
+- Only trap Exception on sabayon-apply error
+
 * Tue Sep 22 2009 Tomas Bzatek <tbzatek at redhat.com> - 2.28.0-1
 - Update to 2.28.0
 

selinux.patch:
 sabayon-2.22.0/admin-tool/profilesdialog.py |    6 ++++++
 sabayon-2.22.0/lib/userdb.py                |    6 ++++++
 sabayon-2.28.0/admin-tool/sabayon-apply     |    2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

Index: selinux.patch
===================================================================
RCS file: /cvs/extras/rpms/sabayon/F-12/selinux.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- selinux.patch	12 Mar 2008 01:11:35 -0000	1.2
+++ selinux.patch	23 Oct 2009 09:40:44 -0000	1.3
@@ -44,3 +44,15 @@ diff -up sabayon-2.22.0/lib/userdb.py.se
          self.modified = 0
  
      def set_default_profile (self, profile):
+diff -up sabayon-2.28.0/admin-tool/sabayon-apply~ sabayon-2.28.0/admin-tool/sabayon-apply
+--- sabayon-2.28.0/admin-tool/sabayon-apply~	2009-09-21 16:12:03.000000000 -0400
++++ sabayon-2.28.0/admin-tool/sabayon-apply	2009-10-22 16:23:21.000000000 -0400
+@@ -115,7 +115,7 @@ if __name__ == '__main__':
+ 
+         if errors.errors_have_recoverable_error ():
+             mprint ("There were recoverable errors while applying the profile.")
+-    except:
++    except Exception:
+         errors.errors_exit_with_fatal_exception (debuglog.DEBUG_LOG_DOMAIN_SABAYON_APPLY,
+                                                  util.get_admin_log_config_filename ())
+ 




More information about the fedora-extras-commits mailing list