Author: guillomovitch
Date: Fri Dec  8 11:45:21 2006
New Revision: 92220

Added:
   
packages/cooker/bash-completion/current/SOURCES/bash-completion-20060301.kernel-completion.patch
Modified:
   packages/cooker/bash-completion/current/SPECS/bash-completion.spec

Log:
add forgotten kernel completion patch, needed by dkms completion

Added: 
packages/cooker/bash-completion/current/SOURCES/bash-completion-20060301.kernel-completion.patch
==============================================================================
--- (empty file)
+++ 
packages/cooker/bash-completion/current/SOURCES/bash-completion-20060301.kernel-completion.patch
    Fri Dec  8 11:45:21 2006
@@ -0,0 +1,25 @@
+--- /etc/bash_completion       2006-03-27 10:12:44.000000000 +0200
++++ bash_completion    2006-03-30 12:16:34.000000000 +0200
+@@ -222,6 +222,13 @@
+       done
+ }
+ 
++# This function complete on available kernels
++#
++_kernels()
++{
++      COMPREPLY=( $( command ls /lib/modules | grep "^$cur" ) )
++}
++
+ # This function completes on configured network interfaces
+ #
+ _configured_interfaces()
+@@ -8209,7 +8216,7 @@
+                               _filedir
+                               ;;
+                       2)
+-                              COMPREPLY=( $( command ls /lib/modules | grep 
"^$cur" ) )
++                              _kernels
+                               ;;
+               esac
+       fi

Modified: packages/cooker/bash-completion/current/SPECS/bash-completion.spec
==============================================================================
--- packages/cooker/bash-completion/current/SPECS/bash-completion.spec  
(original)
+++ packages/cooker/bash-completion/current/SPECS/bash-completion.spec  Fri Dec 
 8 11:45:21 2006
@@ -1,6 +1,6 @@
 %define name   bash-completion
 %define version 20060301
-%define release %mkrel 5
+%define release %mkrel 6
 
 Name:          %{name}
 Version:       %{version}
@@ -17,6 +17,7 @@
 Patch10:       bash-completion-20050121.disable-user-completion.patch
 Patch17:       bash-completion-20060301-evince.patch
 Patch18:       bash-completion-20060301.fix-old-rpmfiles-pattern.patch
+Patch19:       bash-completion-20060301.kernel-completion.patch
 Requires:      bash >= 2.05
 BuildArch:     noarch
 BuildRoot:     %{_tmppath}/%{name}-%{version}
@@ -34,6 +35,7 @@
 %patch10
 %patch17 -p1 -b .evince
 %patch18
+%patch19
 chmod 644 contrib/*
 rm -f contrib/dsniff
 rm -f contrib/freeciv

Reply via email to