rpms/childsplay/F-10 childsplay-1.4-lang_switch.patch, NONE, 1.1 childsplay.spec, 1.16, 1.17
Johan Cwiklinski
trasher at fedoraproject.org
Sat Oct 24 05:53:43 UTC 2009
Author: trasher
Update of /cvs/extras/rpms/childsplay/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17279
Modified Files:
childsplay.spec
Added Files:
childsplay-1.4-lang_switch.patch
Log Message:
Fix bug #530599
childsplay-1.4-lang_switch.patch:
utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE childsplay-1.4-lang_switch.patch ---
diff -up childsplay-1.4/utils.py.patch childsplay-1.4/utils.py
--- childsplay-1.4/utils.py.patch 2009-10-23 19:55:08.000000000 +0200
+++ childsplay-1.4/utils.py 2009-10-23 19:56:40.000000000 +0200
@@ -114,7 +114,7 @@ def get_locale():
if lang == '':
lang = locale.getdefaultlocale()[0].split('_')[0]
except Exception, info:
- module_logger.error("%s, %s" % info, "Switching to English")
+ module_logger.error("%s, %s" % (info, "Switching to English"))
lang = 'en'
if lang == 'C' or lang.lower() == 'posix':
# Default to English
Index: childsplay.spec
===================================================================
RCS file: /cvs/extras/rpms/childsplay/F-10/childsplay.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- childsplay.spec 13 Sep 2009 15:05:15 -0000 1.16
+++ childsplay.spec 24 Oct 2009 05:53:42 -0000 1.17
@@ -3,7 +3,7 @@
Name: childsplay
Version: 1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Suite of educational games for young children
Group: Amusements/Games
License: GPLv3
@@ -27,6 +27,7 @@ Source22: alphabet_sounds_ro-%{alp
Source23: alphabet_sounds_ru-%{alphabet_ver}.tgz
Source24: alphabet_sounds_sl-%{alphabet_ver}.tgz
Source25: alphabet_sounds_sv-%{alphabet_ver}.tgz
+Patch0: childsplay-1.4-lang_switch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -198,6 +199,7 @@ pushd alphabet_sounds_lt-%{alphabet_ver
mkdir lt
mv *.* lt
popd
+%patch0 -p1
%build
@@ -395,6 +397,9 @@ fi
%changelog
+* Fri Oct 23 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 1.4-2
+- fix get_locale issue (bug #530599)
+
* Sun Sep 13 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 1.4-1
- 1.4
More information about the fedora-extras-commits
mailing list