Accepting request 449562 from home:matejcik:branches:shells
- fix broken completion for filterdiff: fix-patchutils-completion.patch (boo#1019130) OBS-URL: https://build.opensuse.org/request/show/449562 OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=180
This commit is contained in:
parent
852a1b3f44
commit
ec41884d8c
29
fix-patchutils-completion.patch
Normal file
29
fix-patchutils-completion.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
Index: zsh-5.3/Completion/Unix/Command/_patchutils
|
||||||
|
===================================================================
|
||||||
|
--- zsh-5.3.orig/Completion/Unix/Command/_patchutils
|
||||||
|
+++ zsh-5.3/Completion/Unix/Command/_patchutils
|
||||||
|
@@ -43,6 +43,7 @@ case $service in
|
||||||
|
'(-F --files)'{-F+,--files=}'[only list files within specified range]:range'
|
||||||
|
'--strip=[remove specified number of pathname components before displaying]:components'
|
||||||
|
'--addprefix=[insert specified path prefix before displaying path names]:prefix:_directories'
|
||||||
|
+ '*:diff file:_files'
|
||||||
|
)
|
||||||
|
;|
|
||||||
|
grepdiff|lsdiff)
|
||||||
|
@@ -58,7 +59,6 @@ case $service in
|
||||||
|
\*{-v,--verbose}'[verbose operation]'
|
||||||
|
'(-H --with-filename -h --no-filename)'{-H,--with-filename}'[print the name of the patch file containing each patch]'
|
||||||
|
'!--filter' '!--grep'
|
||||||
|
- '*:diff file:_files'
|
||||||
|
)
|
||||||
|
;;
|
||||||
|
grepdiff|filterdiff)
|
||||||
|
@@ -71,7 +71,7 @@ case $service in
|
||||||
|
'--as-numbered-lines=[display lines of selected hunks]:line numbers:(before after)'
|
||||||
|
"--remove-timestamps[don't include timestamps in output]"
|
||||||
|
)
|
||||||
|
- ;;
|
||||||
|
+ ;|
|
||||||
|
filterdiff)
|
||||||
|
args+=(
|
||||||
|
'(-X --exclude-from-file)'{-X+,--exclude-from-file=}'[exclude files matching any pattern listed in specified file]:file:_files'
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 10 16:27:19 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- fix broken completion for filterdiff: fix-patchutils-completion.patch
|
||||||
|
(boo#1019130)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 14 09:37:40 UTC 2016 - idonmez@suse.com
|
Wed Dec 14 09:37:40 UTC 2016 - idonmez@suse.com
|
||||||
|
|
||||||
|
4
zsh.spec
4
zsh.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package zsh
|
# spec file for package zsh
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -41,6 +41,7 @@ Patch1: trim-unneeded-completions.patch
|
|||||||
# PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc completion
|
# PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc completion
|
||||||
Patch2: zsh-osc-completion.patch
|
Patch2: zsh-osc-completion.patch
|
||||||
Patch3: fix-printf.patch
|
Patch3: fix-printf.patch
|
||||||
|
Patch4: fix-patchutils-completion.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: groff
|
BuildRequires: groff
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -103,6 +104,7 @@ This package contains the Zsh manual in html format.
|
|||||||
%endif
|
%endif
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
# Remove executable bit
|
# Remove executable bit
|
||||||
chmod 0644 Etc/changelog2html.pl
|
chmod 0644 Etc/changelog2html.pl
|
||||||
|
Loading…
Reference in New Issue
Block a user