diff --git a/s-c-l_545499.patch b/s-c-l_545499.patch new file mode 100644 index 0000000..c1ffb6e --- /dev/null +++ b/s-c-l_545499.patch @@ -0,0 +1,19 @@ +diff -uNr system-config-language-1.3.4/src/language_backend.py system-config-language-1.3.4-545499/src/language_backend.py +--- system-config-language-1.3.4/src/language_backend.py 2010-03-09 17:03:43.000000000 +0530 ++++ system-config-language-1.3.4-545499/src/language_backend.py 2010-06-22 16:40:25.514715334 +0530 +@@ -20,6 +20,7 @@ + + import string + import os ++import commands + + ## + ## I18N +@@ -130,3 +131,7 @@ + + + fd.close() ++ ++ # hack for writing information to grub.conf, thanks to Hans de Goede for mentioning this. ++ # resolves RHBZ bug # 545499 ++ (cmdstatus, cmdout)= commands.getstatusoutput('/sbin/new-kernel-pkg --package kernel --dracut --install $(uname -r)') diff --git a/system-config-language.spec b/system-config-language.spec index 93b6820..51d5ebd 100644 --- a/system-config-language.spec +++ b/system-config-language.spec @@ -1,11 +1,12 @@ Summary: A graphical interface for modifying the system language Name: system-config-language Version: 1.3.4 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://fedorahosted.org/system-config-language/ Source0: https://fedorahosted.org/releases/s/y/system-config-language/%{name}-%{version}.tar.bz2 Patch0: scl-1.3.4-devel.patch Patch1: s-c-l_598423.patch +Patch2: s-c-l_545499.patch License: GPLv2 Group: System Environment/Base BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -29,6 +30,7 @@ allows the user to change the default language of the system. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build make %{?_smp_mflags} @@ -90,6 +92,10 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/system-config-language %changelog +* Tue Jun 22 2010 Naveen Kumar - 1.3.4-4 +- apply patch s-c-l_545499.patch +- resolves bug #545499 + * Fri Jun 18 2010 Naveen Kumar - 1.3.4-3 - apply patch s-c-l_598423.patch - resolves bug #598423