rpms/bash-completion/devel bash-completion-20060301-perl-299571.patch, NONE, 1.1 bash-completion.spec, 1.20, 1.21

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sat Sep 22 07:43:34 UTC 2007


Author: scop

Update of /cvs/pkgs/rpms/bash-completion/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32086

Modified Files:
	bash-completion.spec 
Added Files:
	bash-completion-20060301-perl-299571.patch 
Log Message:
* Sat Sep 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 20060301-6
- Patch to improve perl completion (#299571, Jim Radford,
  http://use.perl.org/~Alias/journal/33508).


bash-completion-20060301-perl-299571.patch:

--- NEW FILE bash-completion-20060301-perl-299571.patch ---
--- bash_completion~	2007-09-22 10:35:56.000000000 +0300
+++ bash_completion	2007-09-22 10:37:56.000000000 +0300
@@ -5196,8 +5196,8 @@
 	    ;;
     esac
 
-    # handle case where first parameter is not a dash option
-    if [ $COMP_CWORD -eq 1 ] && [[ "$cur" != -* ]]; then
+    # handle non-dash options
+    if [[ "$cur" != -* ]]; then
 	_filedir
 	return 0
     fi


Index: bash-completion.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bash-completion/devel/bash-completion.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- bash-completion.spec	13 Aug 2007 19:32:59 -0000	1.20
+++ bash-completion.spec	22 Sep 2007 07:43:01 -0000	1.21
@@ -1,6 +1,6 @@
 Name:           bash-completion
 Version:        20060301
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Programmable completion for Bash
 
 Group:          System Environment/Shells
@@ -12,6 +12,7 @@
 Source4:        %{name}-plague-client
 Patch0:         %{name}-20060301-scp-apos-217178.patch
 Patch1:         %{name}-20060301-debian.patch
+Patch2:         %{name}-20060301-perl-299571.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -26,6 +27,7 @@
 %setup -q -n bash_completion
 %patch0
 %patch1
+%patch2
 f=Changelog ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
 install -pm 644 %{SOURCE2} contrib/mock
 install -pm 644 %{SOURCE3} contrib/plague-client
@@ -182,6 +184,10 @@
 
 
 %changelog
+* Sat Sep 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 20060301-6
+- Patch to improve perl completion (#299571, Jim Radford,
+  http://use.perl.org/~Alias/journal/33508).
+
 * Mon Aug 13 2007 Ville Skyttä <ville.skytta at iki.fi> - 20060301-5
 - License: GPLv2+
 




More information about the fedora-extras-commits mailing list