From 125af727a62a5ddcdbc3fbcb6e803e1182dad885aad96eda9618c27bc7db9beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 7 Feb 2012 14:58:03 +0000 Subject: [PATCH] Accepting request 103060 from home:hmacht:branches:shells Enable installation of openSUSE completion functions which are upstream OBS-URL: https://build.opensuse.org/request/show/103060 OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=98 --- zsh-enable-openSUSE-completion-functions.patch | 13 +++++++++++++ zsh.changes | 6 ++++++ zsh.spec | 4 ++++ 3 files changed, 23 insertions(+) create mode 100644 zsh-enable-openSUSE-completion-functions.patch 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