--- /dev/null
+--- bash-completion/bash_completion~ 2009-05-24 01:07:50.000000000 +0300
++++ bash-completion/bash_completion 2009-05-24 01:12:42.638288264 +0300
+@@ -447,7 +447,7 @@
+ } ||
+ _pids()
+ {
+- COMPREPLY=( $( compgen -W '$( command ps axo pid | sed 1d )' -- $cur ) )
++ COMPREPLY=( $( compgen -W '$( command ps axo pid= )' -- $cur ) )
+ }
+
+ # This function completes on process group IDs.
+@@ -459,7 +459,7 @@
+ } ||
+ _pgids()
+ {
+- COMPREPLY=( $( compgen -W '$( command ps axo pgid | sed 1d )' -- $cur ))
++ COMPREPLY=( $( compgen -W '$( command ps axo pgid= )' -- $cur ))
+ }
+
+ # This function completes on process names.
+@@ -482,8 +482,8 @@
+ # for now.
+ # Not using "ps axo comm" because under some Linux kernels, it
+ # truncates command names (see e.g. http://bugs.debian.org/497540#19)
+- COMPREPLY=( $( compgen -W '$( command ps axo command | \
+- sed -e "1d; s/ .*//; s:.*/::; s/:$//;" \
++ COMPREPLY=( $( compgen -W '$( command ps axo command= | \
++ sed -e "s/ .*//; s:.*/::; s/:$//;" \
+ -e "s/^[[(-]//; s/[])]$//" \
+ -e "s/^<defunct>$//")' \
+ -- $cur ) )
Patch0: %{name}-rpm-cache.patch
Patch1: %{name}-mplayer.patch
Patch2: %{name}-service.patch
+Patch3: %{name}-psheader.patch
URL: http://bash-completion.alioth.debian.org/
Requires(triggerpostun): sed >= 4.0
Requires: bash >= 2.05a-3
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
cp -a %{SOURCE1} contrib/poldek
# cleanup backups after patching