diff --git a/system-config-keyboard-dracut.patch b/system-config-keyboard-dracut.patch new file mode 100644 index 0000000..d21ae32 --- /dev/null +++ b/system-config-keyboard-dracut.patch @@ -0,0 +1,20 @@ +Index: lib/keyboard.py +=================================================================== +--- lib/keyboard.py (revision 596) ++++ lib/keyboard.py (working copy) +@@ -186,3 +186,15 @@ + + if os.access(argv[0], os.X_OK) == 1: + call (argv) ++ ++ def dracutSetupString(self): ++ args = "" ++ keyboardtype = self._var("KEYBOARDTYPE") ++ keytable = self._var("KEYTABLE") ++ ++ if keyboardtype: ++ args += " KEYBOARDTYPE=%s" % keyboardtype ++ if keytable: ++ args += " KEYTABLE=%s" % keytable ++ ++ return args diff --git a/system-config-keyboard.spec b/system-config-keyboard.spec index 9344f49..6aa0437 100644 --- a/system-config-keyboard.spec +++ b/system-config-keyboard.spec @@ -3,13 +3,14 @@ Name: system-config-keyboard Version: 1.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A graphical interface for modifying the keyboard Group: System Environment/Base License: GPLv2+ URL: https://fedorahosted.org/system-config-keyboard/ Source0: https://fedorahosted.org/releases/s/y/system-config-keyboard/%{name}-%{version}.tar.gz +Patch0: system-config-keyboard-dracut.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils @@ -33,6 +34,7 @@ the user to change the default keyboard of the system. %prep %setup -q +%patch0 -p0 -b .dracut %build @@ -82,6 +84,9 @@ fi %changelog +* Wed Aug 05 2009 Lubomir Rintel 1.3.0-3 +- Include dracutSetupString() patch by Hans + * Mon Jul 27 2009 Lubomir Rintel 1.3.0-2 - Disable debuginfo subpackage