rpms/smolt/devel firstboot.patch,NONE,1.1 smolt.spec,1.28,1.29
Michael Patrick McGrath (mmcgrath)
fedora-extras-commits at redhat.com
Fri Sep 21 20:15:19 UTC 2007
Author: mmcgrath
Update of /cvs/extras/rpms/smolt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3206
Modified Files:
smolt.spec
Added Files:
firstboot.patch
Log Message:
Firstboot fixes
firstboot.patch:
--- NEW FILE firstboot.patch ---
--- client/smoltFirstBoot.py.orig 2007-09-21 14:16:52.000000000 -0500
+++ client/smoltFirstBoot.py 2007-09-21 14:30:25.000000000 -0500
@@ -14,10 +14,17 @@
## I18N
##
import gettext
-gettext.bindtextdomain ("firstboot", "/usr/share/locale")
-gettext.textdomain ("firstboot")
-_=gettext.gettext
+import locale
+locale.setlocale(locale.LC_ALL, '')
+if os.path.isdir('po'):
+ t = gettext.translation('smolt', 'po', fallback = True)
+else:
+ t = gettext.translation('smolt', '/usr/share/locale', fallback = True)
+#gettext.bindtextdomain ("smolt", "/usr/share/locale")
+#gettext.textdomain ("smolt")
+#_=gettext.gettext
+_ = t.gettext
class childWindow:
#You must specify a runPriority for the order in which you wish your module to run
runPriority = 107
Index: smolt.spec
===================================================================
RCS file: /cvs/extras/rpms/smolt/devel/smolt.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- smolt.spec 15 Aug 2007 02:30:57 -0000 1.28
+++ smolt.spec 21 Sep 2007 20:14:47 -0000 1.29
@@ -1,7 +1,7 @@
Name: smolt
Summary: Fedora hardware profiler
Version: 0.9.8.4
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL
Group: Applications/Internet
URL: http://hosted.fedoraproject.org/projects/smolt
@@ -10,6 +10,7 @@
# This will get fixed as soon as hosted can create attachments directly
Source: https://hosted.fedoraproject.org/projects/smolt/attachment/wiki/WikiStart/%{name}-%{version}.tar.gz
+Patch0: firstboot.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -64,6 +65,7 @@
%prep
%setup -q
+%patch0 -p0
%build
cd client/
@@ -177,6 +179,9 @@
%{_bindir}/smoltGui
%changelog
+* Fri Sep 21 2007 Mike McGrath <mmcgrath at redhat.com> 0.9.8.4-5
+- Fixed firstboot issues
+
* Mon Aug 13 2007 Mike McGrath <mmcgrath at redhat.com> 0.9.8.4-4
- Rebuild to clean up 'config.py' compilations
More information about the fedora-extras-commits
mailing list