Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2011-11-25 11:21:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and      /work/SRC/openSUSE:Factory/.zsh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zsh", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2011-09-23 12:53:44.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes     2011-11-25 
10:22:04.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Nov 24 09:00:37 UTC 2011 - [email protected]
+
+- Add custom completion support via /etc/zsh_completion.d 
+- Fix build with new ncurses library
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ zsh.spec ++++++
--- /var/tmp/diff_new_pack.nyaOf4/_old  2011-11-25 10:22:06.000000000 +0100
+++ /var/tmp/diff_new_pack.nyaOf4/_new  2011-11-25 10:22:06.000000000 +0100
@@ -129,7 +129,11 @@
     --enable-cap \
     --enable-multibyte \
     --enable-pcre \
-    --with-term-lib=ncursesw \
+%if 0%{?suse_version} >= 1220
+    --with-term-lib="ncursesw tinfo" \
+%else
+    --with-term-lib="ncursesw" \
+%endif
     --enable-cflags="%{optflags} %(ncursesw6-config --cflags)" \
     --enable-ldflags="%(ncursesw6-config --libs)"
 
@@ -170,6 +174,9 @@
 %if 0%{?suse_version}
 # install SUSE configuration
 install -m 0644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{buildroot}%{_sysconfdir}
+
+# Create custom completion directory
+mkdir %{buildroot}/etc/zsh_completion.d
 %endif
 
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
@@ -267,6 +274,10 @@
 %config(noreplace) %{_sysconfdir}/skel/.zshrc
 %endif
 
+%if 0%{?suse_version}
+%dir /etc/zsh_completion.d
+%endif
+
 %{_bindir}/zsh
 /bin/zsh
 %{_libdir}/zsh/

++++++ zshrc ++++++
--- /var/tmp/diff_new_pack.nyaOf4/_old  2011-11-25 10:22:06.000000000 +0100
+++ /var/tmp/diff_new_pack.nyaOf4/_new  2011-11-25 10:22:06.000000000 +0100
@@ -2,6 +2,11 @@
 # to re-implement here
 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
+
 # zsh line editing
 : ${ZSHEDIT:="emacs"}
 : ${TERM:=linux}

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to