boo#1012212
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=79
This commit is contained in:
parent
2e9a1e6a26
commit
a3be71e498
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 14 12:41:38 UTC 2016 - werner@suse.de
|
||||
|
||||
- Add patch tar-completion.patch to allow mixed options with long
|
||||
and short options (boo#1012212)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 14 10:46:27 UTC 2016 - werner@suse.de
|
||||
|
||||
|
@ -32,6 +32,8 @@ Source0: https://github.com/scop/bash-completion/releases/download/%{vers
|
||||
Source1: bash-completion-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM bnc#717151 -- Terminal tab autocompletion error
|
||||
Patch0: %{name}-%{version}.patch
|
||||
# PATCH-FIX-SUSE bnc#1012212 -- bash tab-autocompletion hangs on TAR-archiving with --create key
|
||||
Patch1: tar-completion.patch
|
||||
# PATCH-FIX-SUSE bnc#903362 -- tab completion for file names prints error
|
||||
Patch2: PS1-completion-boo903362.patch
|
||||
# PATCH-FIX-SUSE boo#905348 -- tab completion with shell variable changes command line with backslash
|
||||
@ -92,6 +94,7 @@ package bash-completion.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -b .p0
|
||||
%patch1 -b .p0
|
||||
%patch2 -b .p2
|
||||
%patch3 -b .p3
|
||||
%patch5 -b .p5
|
||||
|
17
tar-completion.patch
Normal file
17
tar-completion.patch
Normal file
@ -0,0 +1,17 @@
|
||||
boo#1012212 -- bash tab-autocompletion hangs on TAR-archiving with --create key
|
||||
|
||||
---
|
||||
completions/tar | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- completions/tar
|
||||
+++ completions/tar 2016-12-14 12:37:15.952363674 +0000
|
||||
@@ -191,7 +191,7 @@ __tar_preparse_cmdline()
|
||||
first_arg=1
|
||||
for i in "$@"; do
|
||||
case "$i" in
|
||||
- --delete|--test-label)
|
||||
+ --delete|--test-label|--catenate|--concatenate|--extract|--get|--update|--list|--append|--create)
|
||||
tar_mode=${i:2:100}
|
||||
tar_mode_arg=$i
|
||||
break
|
Loading…
Reference in New Issue
Block a user