Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2013-03-22 09:22:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and      /work/SRC/openSUSE:Factory/.zsh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zsh", Maintainer is "idon...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2013-01-29 06:49:19.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes     2013-03-22 
09:22:19.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Mar 21 10:17:56 UTC 2013 - idon...@suse.com
+
+- Fix custom completion support via /etc/zsh_completion.d
+- Add trim-unneeded-completions.patch to remove unneeded completions
+  when building for openSUSE
+
+-------------------------------------------------------------------

New:
----
  trim-unneeded-completions.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zsh.spec ++++++
--- /var/tmp/diff_new_pack.E7yezV/_old  2013-03-22 09:22:20.000000000 +0100
+++ /var/tmp/diff_new_pack.E7yezV/_new  2013-03-22 09:22:20.000000000 +0100
@@ -38,6 +38,7 @@
 %endif
 Patch1:         zsh-zypper-completion.patch
 Patch2:         zsh-osc-suseversion.patch
+Patch3:         trim-unneeded-completions.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -95,6 +96,9 @@
 %setup -q -n %{name}-%{version}
 %patch1 -p1
 %patch2 -p1
+%if 0%{?suse_version}
+%patch3 -p1
+%endif
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl
@@ -111,8 +115,9 @@
 
 %build
 %configure \
-    --enable-site-scriptdir=%{_datadir}/%{name}/site/scripts/ \
-    --enable-site-fndir=%{_datadir}/%{name}/site/scripts/ \
+    --enable-fndir=%{_datadir}/%{name}/${version}/functions \
+    --enable-site-fndir=%{_datadir}/%{name}/site-functions \
+    --enable-function-subdirs \
     --enable-maildir-support \
     --with-tcsetpgrp \
     --enable-cap \

++++++ trim-unneeded-completions.patch ++++++
Index: zsh-5.0.2/Src/Zle/complete.mdd
===================================================================
--- zsh-5.0.2.orig/Src/Zle/complete.mdd
+++ zsh-5.0.2/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/openSUSE/*/* 
Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*'
+functions='Completion/*comp* Completion/Base/*/* Completion/Linux/*/* 
Completion/openSUSE/*/* Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*'
 
 moddeps="zsh/zle"
 
++++++ zshrc ++++++
--- /var/tmp/diff_new_pack.E7yezV/_old  2013-03-22 09:22:20.000000000 +0100
+++ /var/tmp/diff_new_pack.E7yezV/_new  2013-03-22 09:22:20.000000000 +0100
@@ -3,9 +3,7 @@
 source /etc/bash.bashrc
 
 # Custom completion support via /etc/zsh_completion.d
-for i in /etc/zsh_completion.d/*(N); do 
-    test -r $i && . $i
-done
+fpath=( $fpath /etc/zsh_completion.d )
 
 # zsh line editing
 : ${ZSHEDIT:="emacs"}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to