diff --git a/zsh-enable-openSUSE-completion-functions.patch b/zsh-enable-openSUSE-completion-functions.patch new file mode 100644 index 0000000..36f0931 --- /dev/null +++ b/zsh-enable-openSUSE-completion-functions.patch @@ -0,0 +1,13 @@ +Index: zsh-4.3.15/Src/Zle/complete.mdd +=================================================================== +--- zsh-4.3.15.orig/Src/Zle/complete.mdd ++++ zsh-4.3.15/Src/Zle/complete.mdd +@@ -1,7 +1,7 @@ + name=zsh/complete + link=either + load=yes +-functions='Completion/*comp* Completion/AIX/*/* Completion/BSD/*/* Completion/Base/*/* Completion/Cygwin/*/* Completion/Darwin/*/* Completion/Debian/*/* Completion/Linux/*/* Completion/Mandriva/*/* Completion/Redhat/*/* Completion/Solaris/*/* Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*' ++functions='Completion/*comp* Completion/AIX/*/* Completion/BSD/*/* Completion/Base/*/* Completion/Cygwin/*/* Completion/Darwin/*/* Completion/Debian/*/* Completion/Linux/*/* Completion/Mandriva/*/* Completion/Redhat/*/* Completion/Solaris/*/* Completion/openSUSE/*/* Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*' + + moddeps="zsh/zle" + diff --git a/zsh.changes b/zsh.changes index 43417d2..a8a0815 100644 --- a/zsh.changes +++ b/zsh.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 7 14:27:18 CET 2012 - hmacht@suse.de + +- add zsh-enable-openSUSE-completion-functions.patch: Enable + installation of openSUSE completion functions which are upstream + ------------------------------------------------------------------- Tue Jan 31 11:08:53 UTC 2012 - idonmez@suse.com diff --git a/zsh.spec b/zsh.spec index 847c97f..4e56c78 100644 --- a/zsh.spec +++ b/zsh.spec @@ -15,6 +15,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: zsh Version: 4.3.15 Release: 0 @@ -37,6 +39,7 @@ Source17: zshprompt.pl %endif Patch1: %{name}-4.3.12-fix-c02cond-test.patch Patch2: osc.patch +Patch3: zsh-enable-openSUSE-completion-functions.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} Requires(pre): %{install_info_prereq} @@ -89,6 +92,7 @@ This package contains the Zsh manual in html format. %setup -q -n %{name}-%{version} %patch1 -p1 %patch2 -p0 +%patch3 -p1 # Remove executable bit chmod 0644 Etc/changelog2html.pl