commit zsh for openSUSE:Factory

2020-10-06 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2020-10-06 17:06:09

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new.4249 (New)


Package is "zsh"

Tue Oct  6 17:06:09 2020 rev:94 rq:830225 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2020-05-08 23:00:59.517327882 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new.4249/zsh.changes2020-10-06 
17:06:22.061281502 +0200
@@ -1,0 +2,5 @@
+Tue Aug 25 13:25:50 UTC 2020 - Martin Liška 
+
+- Add ncurses-fix.patch in order to fix ncurses failure.
+
+---

New:

  ncurses-fix.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.exujLj/_old  2020-10-06 17:06:24.589283686 +0200
+++ /var/tmp/diff_new_pack.exujLj/_new  2020-10-06 17:06:24.589283686 +0200
@@ -40,6 +40,7 @@
 Patch1: trim-unneeded-completions.patch
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
 Patch2: zsh-osc-completion.patch
+Patch3: ncurses-fix.patch
 BuildRequires:  groff
 BuildRequires:  libcap-devel
 BuildRequires:  ncurses-devel
@@ -96,6 +97,7 @@
 %patch1 -p1
 %endif
 %patch2 -p1
+%patch3 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ ncurses-fix.patch ++
>From c6a85163619ed1cee89ab047a0d98108ed46828d Mon Sep 17 00:00:00 2001
From: Daniel Shahaf 
Date: Fri, 28 Aug 2020 02:36:35 +
Subject: [PATCH] github #64: Fix a build-time error when building against
 ncurses that hadn't been built with --enable-wgetch-events.

The --enable-wgetch-events codepath is experimental (according to
ncurses-6.2/INSTALL) and off by default (according to
ncurses-6.2/configure.in).  With that codepath disabled, the macro
KEY_EVENT is not provided, which (before this commit) manifested as a
build-time error:

[  245s] gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I.  
-DHAVE_CONFIG_H -DMODULE -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong 
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection 
-Werror=return-type -flto=auto -g -fPIE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 
-I/usr/include/ncursesw -fPIC -o curses..o curses.c
[  246s] In file included from curses.c:210:
[  246s] curses_keys.h:93:15: error: 'KEY_EVENT' undeclared here (not in a 
function); did you mean 'KEY_RESET'?
[  246s]93 | {"EVENT", KEY_EVENT},
[  246s]   |   ^
[  246s]   |   KEY_RESET

curses_keys.h is only used for setting the "kevent" output parameter of
'zcurses input' (and the associated $zcurses_keycodes special variable),
so there's no harm in just leaving KEY_EVENT out of it.  (That codepath
deals gracefully with numeric values that don't correspond to any of the
known compile-time values, as that can happen whenever the build- and
run-time versions of ncurses don't provide the same set of KEY_* macros,
with or without relation to that configure flag.)

Reported by Martin Liska.
---
 ChangeLog   | 6 ++
 Src/Modules/curses_keys.awk | 7 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/Src/Modules/curses_keys.awk b/Src/Modules/curses_keys.awk
index ffb182c35..25bd63c7e 100644
--- a/Src/Modules/curses_keys.awk
+++ b/Src/Modules/curses_keys.awk
@@ -12,8 +12,13 @@ BEGIN {nkeydefs = 0}
 
 END {
 printf("static const struct zcurses_namenumberpair keypad_names[] = {\n")
-for (i = 0; i < 0 + nkeydefs; i++)
+for (i = 0; i < 0 + nkeydefs; i++) {
+if (name[i] == "EVENT")
+printf("#ifdef KEY_EVENT\n")
 printf("{\"%s\", KEY_%s},\n", name[i], name[i])
+if (name[i] == "EVENT")
+printf("#endif\n")
+}
 printf("{NULL, 0}\n")
 printf("};\n")
 }


++ zshrc ++
--- /var/tmp/diff_new_pack.exujLj/_old  2020-10-06 17:06:24.737283813 +0200
+++ /var/tmp/diff_new_pack.exujLj/_new  2020-10-06 17:06:24.737283813 +0200
@@ -256,6 +256,7 @@
 alias egrep='egrep --color=auto'
 alias fgrep='fgrep --color=auto'
 alias grep='grep --color=auto'
+alias ip='ip --color=auto'
 alias l='ls -alF'
 alias la='ls -la'
 alias ll='ls -l'




commit zsh for openSUSE:Factory

2020-05-08 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2020-05-08 23:00:58

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new.2738 (New)


Package is "zsh"

Fri May  8 23:00:58 2020 rev:93 rq:800536 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2020-04-16 22:59:02.771482666 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new.2738/zsh.changes2020-05-08 
23:00:59.517327882 +0200
@@ -1,0 +2,10 @@
+Tue May  5 20:07:10 UTC 2020 - Mykola Krachkovsky 
+
+- Add $HOME aliases to fix regression after dropping /etc/bash.bashrc
+
+---
+Tue May  5 04:41:08 UTC 2020 - Ismail Dönmez 
+
+- Add back LS_COLORS, LS_OPTIONS and GPG_TTY
+
+---



Other differences:
--


++ zshrc ++
--- /var/tmp/diff_new_pack.PELoq5/_old  2020-05-08 23:01:00.649330198 +0200
+++ /var/tmp/diff_new_pack.PELoq5/_new  2020-05-08 23:01:00.649330198 +0200
@@ -267,5 +267,48 @@
 alias which-command=whence
 alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c 
"/sbin/yast2 online_update" ; fi'
 
+test -s $HOME/.alias && . $HOME/.alias
+
+#
+# Colored file listings
+#
+if test -x /usr/bin/dircolors ; then
+#
+# set up the color-ls environment variables:
+#
+if test -f $HOME/.dir_colors ; then
+eval "`/usr/bin/dircolors -b $HOME/.dir_colors`"
+elif test -f /etc/DIR_COLORS ; then
+eval "`/usr/bin/dircolors -b /etc/DIR_COLORS`"
+fi
+fi
+
+# ls color option depends on the terminal
+# If LS_COLORS is set but empty, the terminal has no colors.
+if test "${LS_COLORS+empty}" = "${LS_COLORS:+empty}" ; then
+LS_OPTIONS=--color=tty
+else
+LS_OPTIONS=--color=none
+fi
+
+if test "$UID" = 0 ; then
+LS_OPTIONS="-A -N $LS_OPTIONS -T 0"
+else
+LS_OPTIONS="-N $LS_OPTIONS -T 0"
+fi
+
+# Avoid trouble with Emacs shell mode
+if test "$EMACS" = "t" ; then
+LS_OPTIONS='-N --color=none -T 0';
+fi
+export LS_OPTIONS
+
+# Set GPG_TTY for curses pinentry
+# (see man gpg-agent and bnc#619295)
+if test -t && type -p tty > /dev/null 2>&1 ; then
+GPG_TTY="`tty`"
+export GPG_TTY
+fi
+
 # Read custom system-wide config if exists
 test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local




commit zsh for openSUSE:Factory

2020-04-16 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2020-04-16 22:58:55

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new.2738 (New)


Package is "zsh"

Thu Apr 16 22:58:55 2020 rev:92 rq:794119 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2020-04-13 12:51:46.592608660 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new.2738/zsh.changes2020-04-16 
22:59:02.771482666 +0200
@@ -1,0 +2,6 @@
+Wed Apr 15 09:02:14 UTC 2020 - Ismail Dönmez 
+
+- Add aliases from /etc/bash.bashrc into /etc/zshrc so we don't
+  regress
+
+---



Other differences:
--


++ zshrc ++
--- /var/tmp/diff_new_pack.RXseA6/_old  2020-04-16 22:59:04.727484139 +0200
+++ /var/tmp/diff_new_pack.RXseA6/_new  2020-04-16 22:59:04.727484139 +0200
@@ -247,5 +247,25 @@
 bindkey"^^[[B" down-history
 fi
 
+# Aliases exported from /etc/bash.bashrc
+alias ..='cd ..'
+alias ...='cd ../..'
+alias beep='echo -en "\007"'
+alias cd..='cd ..'
+alias dir='ls -l'
+alias egrep='egrep --color=auto'
+alias fgrep='fgrep --color=auto'
+alias grep='grep --color=auto'
+alias l='ls -alF'
+alias la='ls -la'
+alias ll='ls -l'
+alias ls-l='ls -l'
+alias md='mkdir -p'
+alias o=less
+alias rd=rmdir
+alias unmount='echo "Error: Try the command: umount" 1>&2; false'
+alias which-command=whence
+alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c 
"/sbin/yast2 online_update" ; fi'
+
 # Read custom system-wide config if exists
 test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local




commit zsh for openSUSE:Factory

2020-04-13 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2020-04-13 12:51:40

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new.3248 (New)


Package is "zsh"

Mon Apr 13 12:51:40 2020 rev:91 rq:792416 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2020-03-11 18:49:36.927521134 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new.3248/zsh.changes2020-04-13 
12:51:46.592608660 +0200
@@ -1,0 +2,6 @@
+Wed Apr  8 06:04:06 UTC 2020 - Ismail Dönmez 
+
+- Stop sourcing /etc/bash.bashrc which causes problems with ls, add
+  a call to manually source /etc/zsh.zshrc.local if available.
+
+---



Other differences:
--


++ zshrc ++
--- /var/tmp/diff_new_pack.1KcPsy/_old  2020-04-13 12:51:48.064609302 +0200
+++ /var/tmp/diff_new_pack.1KcPsy/_new  2020-04-13 12:51:48.068609303 +0200
@@ -1,7 +1,3 @@
-# read bash.bashrc first for some features we dont want
-# to re-implement here
-source /etc/bash.bashrc
-
 # Custom completion support via /etc/zsh_completion.d
 fpath=( $fpath /etc/zsh_completion.d )
 
@@ -250,3 +246,6 @@
 bindkey"^^[[A" up-history
 bindkey"^^[[B" down-history
 fi
+
+# Read custom system-wide config if exists
+test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local




commit zsh for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2020-03-11 18:45:53

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new.3160 (New)


Package is "zsh"

Wed Mar 11 18:45:53 2020 rev:90 rq:783235 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2020-02-20 14:53:55.814117341 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new.3160/zsh.changes2020-03-11 
18:49:36.927521134 +0100
@@ -1,0 +2,5 @@
+Tue Mar 10 08:38:10 UTC 2020 - Martin Liška 
+
+- Remove stack-protector option addition, it's already in $optflags.
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.sj2rDK/_old  2020-03-11 18:49:37.987521608 +0100
+++ /var/tmp/diff_new_pack.sj2rDK/_new  2020-03-11 18:49:37.987521608 +0100
@@ -108,15 +108,10 @@
 
 %build
 
-%define _stack_protector "-fstack-protector-strong"
-%if 0%{?suse_version} <= 1315
-%define _stack_protector "-fstack-protector"
-%endif
-
 %configure \
 %if 0%{?suse_version}
 --with-term-lib="ncursesw" \
---enable-cflags="%{optflags} -fPIE %{_stack_protector} %(ncursesw6-config 
--cflags)" \
+--enable-cflags="%{optflags} -fPIE %(ncursesw6-config --cflags)" \
 --enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro" \
 %endif
 --enable-fndir=%{_datadir}/%{name}/${version}/functions \






commit zsh for openSUSE:Factory

2020-02-20 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2020-02-20 14:53:48

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new.26092 (New)


Package is "zsh"

Thu Feb 20 14:53:48 2020 rev:89 rq:774851 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2020-02-15 22:23:28.383246555 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new.26092/zsh.changes   2020-02-20 
14:53:55.814117341 +0100
@@ -1,0 +2,6 @@
+Mon Feb 17 05:18:47 UTC 2020 - Ismail Dönmez 
+
+- Update to version 5.8
+  * Fixes CVE-2019-20044 bsc#1163882
+
+---

Old:

  zsh-5.7.1-test-3.tar.xz
  zsh-5.7.1-test-3.tar.xz.asc

New:

  zsh-5.8.tar.xz
  zsh-5.8.tar.xz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.KBH2PU/_old  2020-02-20 14:53:56.666119013 +0100
+++ /var/tmp/diff_new_pack.KBH2PU/_new  2020-02-20 14:53:56.666119013 +0100
@@ -16,9 +16,6 @@
 #
 
 
-# Only for -test builds
-%define _version 5.7.1-test-3
-
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 %if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700
 %global __requires_exclude ^/bin/zsh$
@@ -28,14 +25,14 @@
 BuildRequires:  texinfo
 %endif
 Name:   zsh
-Version:5.8~pre3
+Version:5.8
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT
 Group:  System/Shells
 URL:http://www.zsh.org
-Source0:
https://downloads.sourceforge.net/project/zsh/zsh-test/%{_version}/zsh-%{_version}.tar.xz
-Source1:
https://downloads.sourceforge.net/project/zsh/zsh-test/%{_version}/zsh-%{_version}.tar.xz.asc
+Source0:
https://downloads.sourceforge.net/project/zsh/zsh/%{version}/zsh-%{version}.tar.xz
+Source1:
https://downloads.sourceforge.net/project/zsh/zsh/%{version}/zsh-%{version}.tar.xz.asc
 Source2:%{name}.keyring
 Source3:zshrc
 Source4:zshenv
@@ -94,7 +91,7 @@
 This package contains the Zsh manual in HTML format.
 
 %prep
-%setup -q -n %{name}-%{_version}
+%setup -q
 %if 0%{?suse_version}
 %patch1 -p1
 %endif

++ zsh-5.7.1-test-3.tar.xz -> zsh-5.8.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zsh-5.7.1-test-3/ChangeLog new/zsh-5.8/ChangeLog
--- old/zsh-5.7.1-test-3/ChangeLog  2020-02-06 20:57:35.0 +0100
+++ new/zsh-5.8/ChangeLog   2020-02-14 23:11:10.0 +0100
@@ -1,3 +1,28 @@
+2020-02-14  dana  
+
+   * unposted: Config/version.mk: Update for 5.8
+
+   * Sam Foxman, Daniel Shahaf, dana: CVE-2019-20044: NEWS,
+   README, Src/openssh_bsd_setres_id.c, Src/options.c, Src/zsh.mdd,
+   Src/zsh_system.h, Test/E01options.ztst, Test/P01privileged.ztst,
+   Test/README, configure.ac: Fix insecure dropping of privileges
+   when unsetting PRIVILEGED option
+
+   * unposted: Test/V01zmodload.ztst: Fix failing test from
+   workers/45385
+
+   * 45423 (tweaked): Completion/Unix/Command/_su: Improve arg
+   handling, shell look-ups
+
+2020-02-07  dana  
+
+   * unposted: Completion/Unix/Command/_zip: Recognise '--'
+
+2020-02-06  Daniel Shahaf  
+
+   * 45385: Test/V01zmodload.ztst: Add a test for 'zmodload -Fa'
+   preemptively disabling ("blacklisting"?) features.
+
 2020-02-06  dana  
 
* unposted: Config/version.mk: Update for 5.7.1-test-3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zsh-5.7.1-test-3/Completion/Unix/Command/_su 
new/zsh-5.8/Completion/Unix/Command/_su
--- old/zsh-5.7.1-test-3/Completion/Unix/Command/_su2017-12-04 
15:09:35.0 +0100
+++ new/zsh-5.8/Completion/Unix/Command/_su 2020-02-14 17:15:11.0 
+0100
@@ -9,36 +9,44 @@
 (( $words[(i)-(l|-login)] < CURRENT )) || args=( '-[use a login shell]' )
 case $OSTYPE in
   linux*)
+# Some of these options only apply to util-linux, not shadow-utils
 args=( -S $args
-  '(-c --command --session-command *)'{-c,--command=}'[pass command to 
shell]:command string:_cmdstring'
+  '(-c --command --session-command *)'{-c+,--command=}'[pass command to 
shell]:command string:_cmdstring'
   "(-c --command *)--session-command=[pass command to shell and don't 
create a new session]:command string:_cmdstring"
   '(--fast -f)'{-f,--fast}'[pass -f to shell]'
   '(-l --login -m -p --preserve-environment)'{-l,--login}'[use a login 
shell]'
   '(-l --login -m -p 
--preserve-environment)'{-m,-p,--preserve-environment}"[don't reset 
environment]"
-  '(-s --shell)'{-s,--shell=}'[run the specified 

commit zsh for openSUSE:Factory

2020-02-15 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2020-02-15 22:23:25

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new.26092 (New)


Package is "zsh"

Sat Feb 15 22:23:25 2020 rev:88 rq:771563 version:5.8~pre3

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2019-12-23 22:44:15.801997182 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new.26092/zsh.changes   2020-02-15 
22:23:28.383246555 +0100
@@ -1,0 +2,6 @@
+Fri Feb  7 12:07:51 UTC 2020 - Ismail Dönmez 
+
+- Update to version 5.8~pre3 (5.7.1-test-3)
+  * Minor bugfixes compared to pre2
+
+---

Old:

  zsh-5.7.1-test-2.tar.xz
  zsh-5.7.1-test-2.tar.xz.asc

New:

  zsh-5.7.1-test-3.tar.xz
  zsh-5.7.1-test-3.tar.xz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.vcoBbi/_old  2020-02-15 22:23:29.891247370 +0100
+++ /var/tmp/diff_new_pack.vcoBbi/_new  2020-02-15 22:23:29.895247372 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zsh
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 # Only for -test builds
-%define _version 5.7.1-test-2
+%define _version 5.7.1-test-3
 
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 %if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700
@@ -28,7 +28,7 @@
 BuildRequires:  texinfo
 %endif
 Name:   zsh
-Version:5.8~pre2
+Version:5.8~pre3
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT

++ zsh-5.7.1-test-2.tar.xz -> zsh-5.7.1-test-3.tar.xz ++
 6577 lines of diff (skipped)





commit zsh for openSUSE:Factory

2019-12-23 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2019-12-23 22:42:01

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new.6675 (New)


Package is "zsh"

Mon Dec 23 22:42:01 2019 rev:87 rq:758830 version:5.8~pre2

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2019-02-04 21:11:00.483877763 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new.6675/zsh.changes2019-12-23 
22:44:15.801997182 +0100
@@ -1,0 +2,39 @@
+Sun Dec 22 09:19:39 UTC 2019 - Ismail Dönmez 
+
+- Update to version 5.8~pre2 (5.7.1-test-2)
+- Drop 1baf0d1f553631ecb641e98f4bf48bc2a44e5b82.patch, fixed
+  upstream.
+
+---
+Mon Dec 16 15:03:50 UTC 2019 - Ismail Dönmez 
+
+- Add 1baf0d1f553631ecb641e98f4bf48bc2a44e5b82.patch to fix a
+  re-entrancy problem.
+
+---
+Mon Dec 16 10:08:27 UTC 2019 - Ismail Dönmez 
+
+- Update to version 5.8~pre1 (5.7.1-test-1)
+  * The zsh/zutil module's zparseopts builtin learnt an -F option to abort
+parsing when an unrecognised option-like parameter is encountered.
+  * The zsh/files module gained a chmod builtin.
+  * Several changes have been made to the way completion functions track
+'precommands' (such as `command` and `env`) and determine whether the
+command being completed for is a shell builtin. Developers of completion
+functions may wish to familiarise themselves with `_normal -p` and
+`_pick_variant -b`.
+  * The option CD_SILENT was added to suppress all output from cd (whether
+explicit or implicit with AUTO_CD). It is disabled by default.
+  * The compadd builtin's -o option now takes an optional argument to
+specify the order of completion matches. This affects the display
+of candidate matches and the order in which they are selected when
+cycling between them using menu completion.
+  * The :h and :t modifiers in parameter expansion (if braces are present),
+glob qualifiers and history expansion may take following decimal digit
+arguments in order to keep that many leading or trailing path components
+instead of the defaults of all but one (:h) and one (:t).  In an absolute
+path the leading '/' counts as one component.
+  * The functions builtin gained a -c option to efficiently copy functions.
+- See included ChangeLog for the complete list of changes.
+
+---

Old:

  zsh-5.7.1.tar.xz
  zsh-5.7.1.tar.xz.asc

New:

  zsh-5.7.1-test-2.tar.xz
  zsh-5.7.1-test-2.tar.xz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.h0s0BJ/_old  2019-12-23 22:44:17.877997949 +0100
+++ /var/tmp/diff_new_pack.h0s0BJ/_new  2019-12-23 22:44:17.881997950 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zsh
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,9 @@
 #
 
 
+# Only for -test builds
+%define _version 5.7.1-test-2
+
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 %if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700
 %global __requires_exclude ^/bin/zsh$
@@ -25,14 +28,14 @@
 BuildRequires:  texinfo
 %endif
 Name:   zsh
-Version:5.7.1
+Version:5.8~pre2
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT
 Group:  System/Shells
-Url:http://www.zsh.org
-Source0:
https://downloads.sourceforge.net/project/zsh/zsh/%{version}/zsh-%{version}.tar.xz
-Source1:
https://downloads.sourceforge.net/project/zsh/zsh/%{version}/zsh-%{version}.tar.xz.asc
+URL:http://www.zsh.org
+Source0:
https://downloads.sourceforge.net/project/zsh/zsh-test/%{_version}/zsh-%{_version}.tar.xz
+Source1:
https://downloads.sourceforge.net/project/zsh/zsh-test/%{_version}/zsh-%{_version}.tar.xz.asc
 Source2:%{name}.keyring
 Source3:zshrc
 Source4:zshenv
@@ -91,7 +94,7 @@
 This package contains the Zsh manual in HTML format.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{_version}
 %if 0%{?suse_version}
 %patch1 -p1
 %endif





commit zsh for openSUSE:Factory

2019-02-04 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2019-02-04 21:10:56

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new.28833 (New)


Package is "zsh"

Mon Feb  4 21:10:56 2019 rev:86 rq:671123 version:5.7.1

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2018-10-01 09:04:16.915951596 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new.28833/zsh.changes   2019-02-04 
21:11:00.483877763 +0100
@@ -1,0 +2,20 @@
+Mon Feb  4 13:15:17 UTC 2019 - Ismail Dönmez 
+
+- Update to version 5.7.1
+  * This release contains fixes for the two regressions reported
+with VCS_Info and prompt colour sequences.
+
+---
+Fri Jan 25 10:50:59 UTC 2019 - Ismail Dönmez 
+
+- Update to version 5.7
+  * Support for 24-bit true color terminals has been added.
+Hex triplets can be used when specifying colours for prompts
+and line editor highlighting. On 88 and 256 colour terminals,
+a new zsh/nearcolor module allows colours specified with hex
+triplets to be matched against the nearest available colour.
+  * The zsh/datetime module's strftime builtin now accepts an
+argument specifying the nanoseconds time component; both
+arguments can be omitted to use the current time.
+
+---

Old:

  zsh-5.6.2.tar.xz
  zsh-5.6.2.tar.xz.asc

New:

  zsh-5.7.1.tar.xz
  zsh-5.7.1.tar.xz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.dtpfmV/_old  2019-02-04 21:11:01.419877426 +0100
+++ /var/tmp/diff_new_pack.dtpfmV/_new  2019-02-04 21:11:01.423877425 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zsh
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,14 +25,14 @@
 BuildRequires:  texinfo
 %endif
 Name:   zsh
-Version:5.6.2
+Version:5.7.1
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT
 Group:  System/Shells
 Url:http://www.zsh.org
-Source0:http://www.zsh.org/pub/zsh-%{version}.tar.xz
-Source1:http://www.zsh.org/pub/zsh-%{version}.tar.xz.asc
+Source0:
https://downloads.sourceforge.net/project/zsh/zsh/%{version}/zsh-%{version}.tar.xz
+Source1:
https://downloads.sourceforge.net/project/zsh/zsh/%{version}/zsh-%{version}.tar.xz.asc
 Source2:%{name}.keyring
 Source3:zshrc
 Source4:zshenv

++ zsh-5.6.2.tar.xz -> zsh-5.7.1.tar.xz ++
 14474 lines of diff (skipped)

++ zsh.keyring ++
--- /var/tmp/diff_new_pack.dtpfmV/_old  2019-02-04 21:11:02.423877065 +0100
+++ /var/tmp/diff_new_pack.dtpfmV/_new  2019-02-04 21:11:02.423877065 +0100
@@ -1,151 +1,30 @@
 -BEGIN PGP PUBLIC KEY BLOCK-
 
-mQENBFZWC4cBCADgb7/oPoCs9SE+/jrzmDT7L+PbYLCygCExxp4mt3CsSzn5xefq
-NGU+aBJnvyongcsYrW173GumDjXCG3GBtnmqs3dFeoqnEsSZFMYiQ4ctmWh48P+W
-uQVQOWuh0CVS2OCFn37b5F9dy3oF6gJFdqbwOXJSgWMA/+StMGSkslTYFlG/JwZ1
-csk9jSwQw/yKDlTiFaqMwIwSXTK5fItSn3F0R+usgMhwRPu8gvK23tmEhnnwgmlR
-xfEwJCLqGnvlW74dRkCjY349GAG1IN2felFfHn0ok/Lbx7coKRoEvHaCVbmtPSmX
-Ps9axAV97wk37wS1dhEXcjxLb9GIZgptgo7DABEBAAG0LlBldGVyIFN0ZXBoZW5z
-b24gPHAudy5zdGVwaGVuc29uQG50bHdvcmxkLmNvbT6JATcEEwEIACEFAlZWC4cC
-GwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQpx2anUvbJ7NtaQf/RQ/RLvOG
-iI4XJp/C9JIVHfHL7I801uT8V3y/d2+DehFasR9T+6B/Mf5y22NI31i5XBQuK0Wo
-Zsi7F3bhNHyeVgO/p5JLBmxohByjL9f7B+k9Tt/DyWh66AVaCoam4ACR8TBOlNkD
-p/8U0zzrxE9fQrjjK/PzhpVe97LKScEAu2Zc/qUFp4eTAnlqyosTqvU64+n1PrNC
-CtZVYPnL17GCC4+S7yrh34Kllx+fkoHimTL/cUG+6+7sbmpUImpP+pgNEnL1IzBB
-ajZRl1581McMGhIH1TBYrEVnIhononoOO7qr1eahUCEhVvanyVTnSeTTVR0VgK4s
-joYLwDLM4XidgrkBDQRWVguHAQgA7JTI0botnBMfTAGff4Duoor5m0PuExQFCHcJ
-/df5SyUUskycMlGR73+IbcT2D/zBIFDv5ZhCdOdmIW3CHICK+Ws7N5+KSzlzC+Vf
-2LMmXuyJLhXeTqXI1ta6bIGjXeh5VA9Jd7B8dRQhCn1OrGbFhwtJSGejTmcWiLJW
-+2GV9s44e9MlscMHvAk9QAvqrSUJoAkN3OCdgjcpDNVT8ek3NnjCD4xrBTxCcI1n
-KsJeOgNHPkbou9+eHY80amkAkRn2ZSI9n25WjhKAp9QGDNL5wqHLjgHP6WiEwumN
-DWPnPd+5FQHQXy1GHgH2BozfT1KZJ012T0Keuk/hnZJ/TVe4gwARAQABiQEfBBgB
-CAAJBQJWVguHAhsMAAoJEKcdmp1L2yez1T0H/jitvgACci+5PQG1djYwioQIui4J
-1nSg4HxW+4SCpSwlmH2LkKaF3WbjpPTRhYeMZ5zdOvGnjPUZCjGtWkWx0p+Jrpe/
-QIC3CNXerX9fpkr0K7+knqkb1RsjHU/YSsYTDDVJpL3BQOZzVocOjPa1YPTfTBU5
-tsQdA4RORi15LyAWcEAmR+X3qH2JM5pGP23hhOKnrFSSnfBP6ef1/jjRbfK5yItZ
-5DOf6i3WS40zxB67dlBlHZwOQuYA3Sr01hEz4CeAkpV7lQ1gKelm1ZmcFQI6yqcR
-PmVjIuxE1A/gTFe6LaAfCGA6/H1H6LLwWQ/rnUi/seMJ6aRkz/05dg7j5+E=
-=wOVS
--END PGP PUBLIC 

commit zsh for openSUSE:Factory

2018-10-01 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2018-10-01 09:04:03

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Mon Oct  1 09:04:03 2018 rev:85 rq:637013 version:5.6.2

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2018-09-18 11:40:06.340120094 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2018-10-01 
09:04:16.915951596 +0200
@@ -1,0 +2,5 @@
+Fri Sep 21 09:29:03 UTC 2018 - Ismail Dönmez 
+
+- Unbreak Leap 42.3 compilation 
+
+---
@@ -4 +9 @@
-- Updateo to version 5.6.2
+- Update to version 5.6.2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.iScDmE/_old  2018-10-01 09:04:18.083950586 +0200
+++ /var/tmp/diff_new_pack.iScDmE/_new  2018-10-01 09:04:18.083950586 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -108,10 +108,15 @@
 
 %build
 
+%define _stack_protector "-fstack-protector-strong"
+%if 0%{?suse_version} <= 1315
+%define _stack_protector "-fstack-protector"
+%endif
+
 %configure \
 %if 0%{?suse_version}
 --with-term-lib="ncursesw" \
---enable-cflags="%{optflags} -fPIE -fstack-protector-strong 
%(ncursesw6-config --cflags)" \
+--enable-cflags="%{optflags} -fPIE %{_stack_protector} %(ncursesw6-config 
--cflags)" \
 --enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro" \
 %endif
 --enable-fndir=%{_datadir}/%{name}/${version}/functions \






commit zsh for openSUSE:Factory

2018-09-18 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2018-09-18 11:39:51

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Tue Sep 18 11:39:51 2018 rev:84 rq:636300 version:5.6.2

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2018-09-07 15:35:21.294802297 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2018-09-18 
11:40:06.340120094 +0200
@@ -1,0 +2,14 @@
+Sun Sep 16 20:13:34 UTC 2018 - Karol Babioch 
+
+- Updateo to version 5.6.2
+  * Fix another SIGTTOU case.
+  * Fix SIGWINCH being ignored when zsh is not in the foreground.
+
+---
+Tue Sep 11 06:54:09 UTC 2018 - Karol Babioch 
+
+- Update to version 5.6.1
+  * Fix packaging issue that broke runhelp
+  * Fix a regression with pipelines getting backgrounded and emitting SIGTTOU
+
+---

Old:

  zsh-5.6.tar.xz
  zsh-5.6.tar.xz.asc

New:

  zsh-5.6.2.tar.xz
  zsh-5.6.2.tar.xz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.xOKBzx/_old  2018-09-18 11:40:07.012119386 +0200
+++ /var/tmp/diff_new_pack.xOKBzx/_new  2018-09-18 11:40:07.016119382 +0200
@@ -25,7 +25,7 @@
 BuildRequires:  texinfo
 %endif
 Name:   zsh
-Version:5.6
+Version:5.6.2
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT
@@ -100,10 +100,6 @@
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl
 
-# Fix for missing help
-# http://www.zsh.org/mla/workers/2018/msg01180.html
-rm Doc/help.txt
-
 # Fix bindir path in some files
 perl -p -i -e 's|%{_prefix}/local/bin|%{_bindir}|' \
 Doc/intro.ms Misc/globtests.ksh Misc/globtests \

++ zsh-5.6.tar.xz -> zsh-5.6.2.tar.xz ++
 4012 lines of diff (skipped)





commit zsh for openSUSE:Factory

2018-09-07 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2018-09-07 15:35:17

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Fri Sep  7 15:35:17 2018 rev:83 rq:633489 version:5.6

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2018-05-16 11:24:13.286198841 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2018-09-07 
15:35:21.294802297 +0200
@@ -1,0 +2,12 @@
+Tue Sep  4 15:51:31 UTC 2018 - Ismail Dönmez 
+
+- Update to version 5.6
+  * Fixes CVE-2018-0502 (bsc#1107296) and
+CVE-2018-13259 (bsc#1107294)
+  * Switch to -fstack-protector-strong
+  * See included NEWS file for complete changes.
+- No longer manually install help files, make install handles it.
+- Workaround a regression upstream with help file generation by
+  removing Doc/help.txt before build.
+
+---
@@ -5 +17 @@
-  * fix for a configuration problem finding singal names from (some) recent
+  * fix for a configuration problem finding signal names from (some) recent

Old:

  zsh-5.5.1.tar.gz
  zsh-5.5.1.tar.gz.asc

New:

  zsh-5.6.tar.xz
  zsh-5.6.tar.xz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.ksSUlU/_old  2018-09-07 15:35:21.854801668 +0200
+++ /var/tmp/diff_new_pack.ksSUlU/_new  2018-09-07 15:35:21.858801663 +0200
@@ -25,14 +25,14 @@
 BuildRequires:  texinfo
 %endif
 Name:   zsh
-Version:5.5.1
+Version:5.6
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT
 Group:  System/Shells
 Url:http://www.zsh.org
-Source0:http://www.zsh.org/pub/zsh-%{version}.tar.gz
-Source1:http://www.zsh.org/pub/zsh-%{version}.tar.gz.asc
+Source0:http://www.zsh.org/pub/zsh-%{version}.tar.xz
+Source1:http://www.zsh.org/pub/zsh-%{version}.tar.xz.asc
 Source2:%{name}.keyring
 Source3:zshrc
 Source4:zshenv
@@ -100,6 +100,10 @@
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl
 
+# Fix for missing help
+# http://www.zsh.org/mla/workers/2018/msg01180.html
+rm Doc/help.txt
+
 # Fix bindir path in some files
 perl -p -i -e 's|%{_prefix}/local/bin|%{_bindir}|' \
 Doc/intro.ms Misc/globtests.ksh Misc/globtests \
@@ -111,7 +115,7 @@
 %configure \
 %if 0%{?suse_version}
 --with-term-lib="ncursesw" \
---enable-cflags="%{optflags} -fPIE -fstack-protector %(ncursesw6-config 
--cflags)" \
+--enable-cflags="%{optflags} -fPIE -fstack-protector-strong 
%(ncursesw6-config --cflags)" \
 --enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro" \
 %endif
 --enable-fndir=%{_datadir}/%{name}/${version}/functions \
@@ -169,10 +173,6 @@
 install -D -m 0644 %{SOURCE16} %{buildroot}%{_sysconfdir}/skel/.zshrc
 %endif
 
-# install help files
-install -m 0755 -Dd%{buildroot}%{_datadir}/%{name}/%{version}/help
-install -m 0644 Doc/help/* %{buildroot}%{_datadir}/%{name}/%{version}/help/
-
 # link zsh binary
 %if 0%{?suse_version} || 0%{?rhel} <= 6
 ln -sf %{_bindir}/zsh %{buildroot}/bin/zsh

++ zsh.keyring ++
--- /var/tmp/diff_new_pack.ksSUlU/_old  2018-09-07 15:35:21.942801569 +0200
+++ /var/tmp/diff_new_pack.ksSUlU/_new  2018-09-07 15:35:21.942801569 +0200
@@ -1,5 +1,4 @@
 -BEGIN PGP PUBLIC KEY BLOCK-
-Version: GnuPG v2
 
 mQENBFZWC4cBCADgb7/oPoCs9SE+/jrzmDT7L+PbYLCygCExxp4mt3CsSzn5xefq
 NGU+aBJnvyongcsYrW173GumDjXCG3GBtnmqs3dFeoqnEsSZFMYiQ4ctmWh48P+W
@@ -28,3 +27,125 @@
 PmVjIuxE1A/gTFe6LaAfCGA6/H1H6LLwWQ/rnUi/seMJ6aRkz/05dg7j5+E=
 =wOVS
 -END PGP PUBLIC KEY BLOCK-
+-BEGIN PGP PUBLIC KEY BLOCK-
+
+mQGNBFG3TRkBDADMoFASLIMP9faxKf/R/rOrZKbBT7ExMXQT9cVjlQLBcjOtb3uv
+63NNTbj/fBDoHbgAal4jOrKYQVPa0LDyT7K9mgj+WBhNZObPeDbmbUwCsrwC6y46
+CJokUc0JwtL0Qm1d8dvMgZ6TzO2J/ZRBAB+Bv+W5pVkV+3BifS8mhHLrwWaJD6s3
+Axxl9PPACG1NB5mlItUci7BK+JTI2Bw7whe+gtyuCn/aat4ny6NYgc74PtLz0uS/
+hG+4hFMKvZrPsflEY/H14GK1AutW8DFSjW6A+etnV9OBUemGz+0WoFOjE+AGHbuY
+FQZYUcj/WZSVcxyK0GJbTa3/KbcOwqLd+xdIWLBybSboP0TAUelyok+1PLORlZnd
+dwvE9cp1hEcEJj/hlmugR7aseG0Fb0txU9x3OnwYaiWbsjk7oLVynlcQGzGe58ID
+SfdsA2ywhkuQO6q397QzNDPRnP92g++HZRm+bGl3U0ffk8Asqef5TLMZvURRMy//
+8OQFjeMWaYCXlf0AEQEAAbQjRGFuaWVsIFNoYWhhZiA8ZGFuaWVsc2hAYXBhY2hl
+Lm9yZz6JAhwEEAEKAAYFAlfjTwAACgkQ3+aRrjMbo9tB/A/6A9EjezO5C8mS5WJa
+lz+dZWEeJF/75npCpRsuCO5wuTMY4ac5VlDR0HqBD7JJnR+vfz4Z26ErtyyMZmuu
+xxj72efT2y4XiVAWXMrQfSR3pIxyTlnrR65QoOIUXU81+1jDgn/UvKZFDa5uipw7
+fNiNqgQ6OXL1O4kLsbLP9Pr8hreD1Pw0N+FC93La537qDP1bFLPC8Ygie55+YyAE
+kWoPg0+6eSm+PI97qqA4roPPHC/srGjDZ9DG4xTwmBu9l3jZWnh9vwzKl15Ai1T4
+rJ5ipH6giR7/uhglBWl0CoqlGuHdyb4eQ6s3lpjHkxTT21vlvji2p0m1C0FB9JLd

commit zsh for openSUSE:Factory

2018-05-16 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2018-05-16 11:24:02

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Wed May 16 11:24:02 2018 rev:82 rq:606966 version:5.5.1

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2018-04-26 13:32:34.244086196 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2018-05-16 
11:24:13.286198841 +0200
@@ -1,0 +2,8 @@
+Fri May 11 13:25:20 UTC 2018 - kbabi...@suse.com
+
+- Update to 5.5.1
+  * fix for a configuration problem finding singal names from (some) recent
+versions of glibc
+  * minor changes
+
+---

Old:

  zsh-5.5.tar.gz
  zsh-5.5.tar.gz.asc

New:

  zsh-5.5.1.tar.gz
  zsh-5.5.1.tar.gz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.kYDOwK/_old  2018-05-16 11:24:14.610150746 +0200
+++ /var/tmp/diff_new_pack.kYDOwK/_new  2018-05-16 11:24:14.614150601 +0200
@@ -25,7 +25,7 @@
 BuildRequires:  texinfo
 %endif
 Name:   zsh
-Version:5.5
+Version:5.5.1
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT

++ zsh-5.5.tar.gz -> zsh-5.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zsh-5.5/ChangeLog new/zsh-5.5.1/ChangeLog
--- old/zsh-5.5/ChangeLog   2018-04-08 17:52:15.0 +0200
+++ new/zsh-5.5.1/ChangeLog 2018-04-16 20:21:24.0 +0200
@@ -1,3 +1,58 @@
+2018-04-16  Peter Stephenson  
+
+   * unposted: NEWS, README, Config/version.mk, Etc/FAQ.yo: update
+   to release 5.5.1.
+
+2018-04-16  Oliver Kiddle  
+
+   * 42659: Completion/Unix/Command/_git, Completion/Unix/Command/_sed,
+   Completion/Linux/Command/_ethtool, Completion/Linux/Command/_htop,
+   Completion/Linux/Command/_pidof, Completion/Unix/Command/_sqlite,
+   Completion/Unix/Command/_ssh: various completion option updates
+
+   * 42658: Completion/Unix/Command/_diffstat: allow compact form of
+   option arguments to diffstat
+
+   * Matthew Martin: 42643, 42644: Completion/BSD/Command/_cksum:
+   new cksum completion
+
+   * Matthew Martin: 42642 (tweaked for Solaris):
+   Completion/Unix/Command/_chown:
+   OpenBSD chown does not support -f and dragonfly has -x
+
+2018-04-15  Barton E. Schaefer  
+
+   * 42650: Src/utils.c: fix 42156 for zero-sized terminals
+
+   * 42636: Src/utils.c: fix GLOB_DOTS for !(RM_STAR_SILENT)
+
+2018-04-13  Daniel Hahler  
+
+   * 42631: Completion/Unix/Command/_pgrep: _pgrep: pkill: fix completion
+   of signals.
+
+2018-04-12  Oliver Kiddle  
+
+   * 42624 (plus test): Src/exec.c, Test/C04funcdef.ztst: avoid
+   freeing memory that's still needed in multiple function
+   definition that has a duplicated function name
+
+2018-04-11  Peter Stephenson  
+
+   * 42623: configure.ac: some extra quotes needed (and some
+   cosmetic) for 42618.
+
+2018-04-10  Peter Stephenson  
+
+   * Benedikt Morbach: 42618: configure.ac: support signal names
+   from multiple include files as needed for glibc 2.25.
+
+   * unposted: Config/version.mk: update dev version to 5.5-dev-0.
+
+2018-04-09  Eric Cook  
+   * 42613: pda: Completion/Linux/Command/_ss
+   fix quoting typo
+
 2018-04-08  Peter Stephenson  
 
* unposted: release zsh-5.5.
@@ -179,7 +234,7 @@
* 42487: Src/Zle/compctl.c: remove gcc 7.3.0 warnings and
potentially incorrect pointer usage.
 
-2018-03-18  Barton E. Schaefer  
+2018-03-18  Barton E. Schaefer  
 
* Stephane: 42469: Src/exec.c, Src/Modules/mapfile.c: fix 42465
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zsh-5.5/Completion/BSD/Command/_cksum 
new/zsh-5.5.1/Completion/BSD/Command/_cksum
--- old/zsh-5.5/Completion/BSD/Command/_cksum   1970-01-01 01:00:00.0 
+0100
+++ new/zsh-5.5.1/Completion/BSD/Command/_cksum 2018-04-16 20:13:46.0 
+0200
@@ -0,0 +1,67 @@
+#compdef cksum sum=cksum md2 md4 md5 rmd160 sha1 sha256 sha384 sha512 
sha512t256
+
+if [[ $OSTYPE == (dragonfly|freebsd)* && service == cksum ]]; then
+  _arguments -s -S -A '-*' \
+'-o[use specified historic algorithm]:historic algorithm:(1 2 3)' \
+'*:_files'
+
+else
+  local -a args
+
+  case $OSTYPE in
+

commit zsh for openSUSE:Factory

2018-04-26 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2018-04-26 13:32:32

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Thu Apr 26 13:32:32 2018 rev:81 rq:595955 version:5.5

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2018-03-01 12:02:07.302341181 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2018-04-26 
13:32:34.244086196 +0200
@@ -1,0 +2,26 @@
+Thu Apr 12 11:38:08 UTC 2018 - jeng...@inai.de
+
+- Update RPM groups.
+
+---
+Wed Apr 11 07:45:35 UTC 2018 - kbabi...@suse.com
+
+- Update to 5.5
+  * The effect of the NO_INTERACTIVE_COMMENTS option extends into $(...)
+and `...` command substitutions when used on the command line.
+  * Dropped patches, which are included upstream now:
+- zsh-CVE-2018-1071.patch
+- zsh-CVE-2018-1083.patch
+  * Fixes a buffer overflow in utils.c:checkmailpath() that can lead to
+local arbitrary code execution (CVE-2018-1100 bnc#1089030)
+
+---
+Tue Mar 27 09:34:00 UTC 2018 - kbabi...@suse.com
+
+- Added zsh-CVE-2018-1071.patch: Fixed a stack-based buffer overflow
+  in exec.c:hashcmd() (CVE-2018-1071 bnc#1084656)
+- Added zsh-CVE-2018-1083.patch: Fixed a stack-based buffer overflow
+  in gen_matches_files() at compctl.c (CVE-2018-1083 bnc#1087026)
+- Cleaned up spec file with spec-cleaner
+
+---

Old:

  zsh-5.4.2.tar.gz
  zsh-5.4.2.tar.gz.asc

New:

  zsh-5.5.tar.gz
  zsh-5.5.tar.gz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.diXmOE/_old  2018-04-26 13:32:35.112054397 +0200
+++ /var/tmp/diff_new_pack.diXmOE/_new  2018-04-26 13:32:35.116054251 +0200
@@ -16,8 +16,16 @@
 #
 
 
+%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
+%if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700
+%global __requires_exclude ^/bin/zsh$
+%endif
+BuildRequires:  libtermcap-devel
+BuildRequires:  texi2html
+BuildRequires:  texinfo
+%endif
 Name:   zsh
-Version:5.4.2
+Version:5.5
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT
@@ -29,6 +37,13 @@
 Source3:zshrc
 Source4:zshenv
 Source5:zprofile
+Patch1: trim-unneeded-completions.patch
+# PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
+Patch2: zsh-osc-completion.patch
+BuildRequires:  groff
+BuildRequires:  libcap-devel
+BuildRequires:  ncurses-devel
+BuildRequires:  pcre-devel
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 Source11:   zlogin.rhs
 Source12:   zlogout.rhs
@@ -37,15 +52,10 @@
 Source15:   zshenv.rhs
 Source16:   dotzshrc.rh
 %endif
-Patch1: trim-unneeded-completions.patch
-# PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
-Patch2: zsh-osc-completion.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  groff
 %if 0%{?suse_version}
-Requires(pre):  %{install_info_prereq}
 BuildRequires:  fdupes
 BuildRequires:  yodl
+Requires(pre):  %{install_info_prereq}
 %if 0%{?suse_version} >= 1210
 BuildRequires:  makeinfo
 BuildRequires:  texi2html
@@ -56,18 +66,6 @@
 Requires(pre):  grep
 %endif
 
-BuildRequires:  libcap-devel
-BuildRequires:  ncurses-devel
-BuildRequires:  pcre-devel
-%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
-%if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700
-%global __requires_exclude ^/bin/zsh$
-%endif
-BuildRequires:  libtermcap-devel
-BuildRequires:  texi2html
-BuildRequires:  texinfo
-%endif
-
 %description
 Zsh is a UNIX command interpreter (shell) that resembles the Korn shell
 (ksh). It is not completely compatible. It includes many enhancements,
@@ -77,9 +75,8 @@
 Zsh is well known for its command line completion.
 
 %package htmldoc
-
-Summary:Zsh shell manual in html format
-Group:  System/Shells
+Summary:Zsh shell manual in HTML format
+Group:  Documentation/HTML
 Provides:   %{name}-html = %{version}
 Obsoletes:  %{name}-html < %{version}
 
@@ -91,10 +88,10 @@
 command completion, shell functions (with autoloading), a history
 mechanism, and more.
 
-This package contains the Zsh manual in html format.
+This package contains the Zsh manual in HTML format.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 %if 0%{?suse_version}
 %patch1 -p1
 %endif
@@ -104,7 +101,7 @@
 chmod 0644 Etc/changelog2html.pl
 
 # Fix bindir 

commit zsh for openSUSE:Factory

2018-03-01 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2018-03-01 12:02:03

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Thu Mar  1 12:02:03 2018 rev:80 rq:580596 version:5.4.2

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2017-03-10 20:44:30.555870519 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2018-03-01 
12:02:07.302341181 +0100
@@ -1,0 +2,16 @@
+Tue Feb 27 12:21:43 UTC 2018 - kbabi...@suse.com
+
+- Updated to 5.4.2
+  * The 'exec' and 'command' precommand modifiers, and options to
+them, are now parsed after parameter expansion.
+  * Functions executed by ZLE widgets no longer have their standard
+input closed, but redirected from /dev/null instead.
+  * There is an option WARN_NESTED_VAR, a companion to the existing
+WARN_CREATE_GLOBAL that causes a warning if a function updates a
+variable from an enclosing scope without using typeset -g.
+  * zmodload now has an option -s to be silent on a failure to find
+a module but still print other errors.
+- Dropped patch merged upstream:
+  * fix-patchutils-completion.patch
+
+---

Old:

  fix-patchutils-completion.patch
  zsh-5.3.1.tar.xz
  zsh-5.3.1.tar.xz.asc

New:

  zsh-5.4.2.tar.gz
  zsh-5.4.2.tar.gz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.14UsKF/_old  2018-03-01 12:02:08.234307759 +0100
+++ /var/tmp/diff_new_pack.14UsKF/_new  2018-03-01 12:02:08.238307616 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zsh
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
 
 
 Name:   zsh
-Version:5.3.1
+Version:5.4.2
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT
 Group:  System/Shells
 Url:http://www.zsh.org
-Source0:http://www.zsh.org/pub/zsh-%{version}.tar.xz
-Source1:http://www.zsh.org/pub/zsh-%{version}.tar.xz.asc
+Source0:http://www.zsh.org/pub/zsh-%{version}.tar.gz
+Source1:http://www.zsh.org/pub/zsh-%{version}.tar.gz.asc
 Source2:%{name}.keyring
 Source3:zshrc
 Source4:zshenv
@@ -40,7 +40,6 @@
 Patch1: trim-unneeded-completions.patch
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
 Patch2: zsh-osc-completion.patch
-Patch3: fix-patchutils-completion.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  groff
 %if 0%{?suse_version}
@@ -100,7 +99,6 @@
 %patch1 -p1
 %endif
 %patch2 -p1
-%patch3 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl





commit zsh for openSUSE:Factory

2017-03-10 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2017-03-10 20:44:29

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Fri Mar 10 20:44:29 2017 rev:79 rq:477054 version:5.3.1

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2017-02-11 01:30:58.987374762 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2017-03-10 
20:44:30.555870519 +0100
@@ -1,0 +2,10 @@
+Sun Mar  5 14:40:13 UTC 2017 - r...@fthiessen.de
+
+- Update to 5.3.1
+  * Fix typo in chflags completion
+  * Fixed invalid git commands completion
+  * VCS info system: vcs_info git: Avoid a fork.
+  * Fix handling of "printf -" and "printf --"
+- Removed upstream merged fix-printf.patch
+
+---

Old:

  fix-printf.patch
  zsh-5.3.tar.xz
  zsh-5.3.tar.xz.asc

New:

  zsh-5.3.1.tar.xz
  zsh-5.3.1.tar.xz.asc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.kjkDgM/_old  2017-03-10 20:44:31.479739614 +0100
+++ /var/tmp/diff_new_pack.kjkDgM/_new  2017-03-10 20:44:31.483739047 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   zsh
-Version:5.3
+Version:5.3.1
 Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT
@@ -40,16 +40,13 @@
 Patch1: trim-unneeded-completions.patch
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
 Patch2: zsh-osc-completion.patch
-Patch3: fix-printf.patch
-Patch4: fix-patchutils-completion.patch
+Patch3: fix-patchutils-completion.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  groff
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
-%if 0%{?suse_version} >= 1110
 BuildRequires:  fdupes
 BuildRequires:  yodl
-%endif
 %if 0%{?suse_version} >= 1210
 BuildRequires:  makeinfo
 BuildRequires:  texi2html
@@ -104,7 +101,6 @@
 %endif
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ zsh-5.3.tar.xz -> zsh-5.3.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zsh-5.3/ChangeLog new/zsh-5.3.1/ChangeLog
--- old/zsh-5.3/ChangeLog   2016-12-11 17:51:45.0 +0100
+++ new/zsh-5.3.1/ChangeLog 2016-12-21 19:39:52.0 +0100
@@ -1,3 +1,42 @@
+2016-12-21  Peter Stephenson  
+
+   * unposted: Config/version.mk, Etc/FAQ.yo, NEWS, README:
+   release 5.3.1:
+
+2016-12-18  Baptiste Daroussin  
+
+   * 40210: Completion/Unix/Command/_sysctl: Add support modern
+   FreeBSD and drop support for FreeBSD < 5
+
+2016-12-18  Baptiste Daroussin  
+
+   * 40209: Completion/BSD/Command/_chflags: Fix typo in chflags
+   completion
+
+2016-12-16  Daniel Shahaf  
+
+   * 40149: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
+   vcs_info git: Avoid a fork.
+
+   * 40203: Test/B03print.ztst: Resolve 'printf --' question from
+   grandparent commit (thanks Chet).
+
+2016-12-15  Barton E. Schaefer  
+
+   * 40198: Test/V10private.ztst: output of B02typeset differs when
+   (( UID == 0 )) so do not attempt to redo that test in that case
+
+2016-12-14  Barton E. Schaefer  
+
+   * 40179: Src/builtin.c: fix handling of "printf -" and "printf --"
+
+   * unposted: Test/B03print.ztst: regression for 40179 / 37467
+
+2016-12-12  Peter Stephenson  
+
+   * unposted: Config/version.mk: update to 5.3-dev-0 to avoid
+   clash with installed 5.3.
+
 2016-12-10  Barton E. Schaefer  
 
* 40134: Src/builtin.c, Src/Zle/compmatch.c: silence spurious
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zsh-5.3/Completion/BSD/Command/_chflags 
new/zsh-5.3.1/Completion/BSD/Command/_chflags
--- old/zsh-5.3/Completion/BSD/Command/_chflags 2016-09-14 21:06:59.0 
+0200
+++ new/zsh-5.3.1/Completion/BSD/Command/_chflags   2016-12-21 
19:32:25.0 +0100
@@ -35,7 +35,7 @@
   fi
 
   if [[ $OSTYPE = (dragonfly|freebsd)* ]]; then
-addlfags uunlnk 'user undeletable'
+addflags uunlnk 'user undeletable'
 (( EUID )) || addflags sunlnk 'system undeletable'
   fi
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zsh-5.3/Completion/Unix/Command/_sysctl 
new/zsh-5.3.1/Completion/Unix/Command/_sysctl
--- old/zsh-5.3/Completion/Unix/Command/_sysctl 2016-07-24 

commit zsh for openSUSE:Factory

2017-02-10 Thread root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2017-02-11 01:30:57

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2016-12-16 11:58:11.246986022 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2017-02-11 
01:30:58.987374762 +0100
@@ -1,0 +2,6 @@
+Tue Jan 10 16:27:19 UTC 2017 - jmate...@suse.com
+
+- fix broken completion for filterdiff: fix-patchutils-completion.patch
+  (boo#1019130)
+
+---

New:

  fix-patchutils-completion.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.5Eketv/_old  2017-02-11 01:31:02.258913678 +0100
+++ /var/tmp/diff_new_pack.5Eketv/_new  2017-02-11 01:31:02.258913678 +0100
@@ -1,7 +1,7 @@
 #
 # 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
 # remain the property of their copyright owners, unless otherwise agreed
@@ -41,6 +41,7 @@
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
 Patch2: zsh-osc-completion.patch
 Patch3: fix-printf.patch
+Patch4: fix-patchutils-completion.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  groff
 %if 0%{?suse_version}
@@ -103,6 +104,7 @@
 %endif
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ fix-patchutils-completion.patch ++
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'





commit zsh for openSUSE:Factory

2016-09-08 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2016-09-08 18:05:51

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2016-09-05 21:13:54.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2016-09-08 
18:05:52.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep  8 13:25:28 UTC 2016 - idon...@suse.com
+
+- Read /etc/profile as zsh again. 
+
+---



Other differences:
--
++ zprofile ++
--- /var/tmp/diff_new_pack.S5dovr/_old  2016-09-08 18:05:53.0 +0200
+++ /var/tmp/diff_new_pack.S5dovr/_new  2016-09-08 18:05:53.0 +0200
@@ -1,3 +1,3 @@
 # we source the general profile here so we dont have to
 # reimplement it
-emulate sh -c 'source /etc/profile'
+source /etc/profile






commit zsh for openSUSE:Factory

2016-09-05 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2016-09-05 21:13:52

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2016-06-05 14:20:00.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2016-09-05 
21:13:54.0 +0200
@@ -1,0 +2,7 @@
+Tue Aug 30 14:13:40 UTC 2016 - mma...@suse.com
+
+- Remove custom zshrc and zshenv as they might interfere with the users config
+- Remove unused zshprompt.pl
+- Move install outside loop in spec file, was executed too often
+
+---

Old:

  zshenv
  zshprompt.pl
  zshrc



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.h3Wmib/_old  2016-09-05 21:13:56.0 +0200
+++ /var/tmp/diff_new_pack.h3Wmib/_new  2016-09-05 21:13:56.0 +0200
@@ -26,9 +26,7 @@
 Source0:http://www.zsh.org/pub/zsh-%{version}.tar.xz
 Source1:http://www.zsh.org/pub/zsh-%{version}.tar.xz.asc
 Source2:%{name}.keyring
-Source3:zshrc
-Source4:zshenv
-Source5:zprofile
+Source3:zprofile
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 Source11:   zlogin.rhs
 Source12:   zlogout.rhs
@@ -36,7 +34,6 @@
 Source14:   zshrc.rhs
 Source15:   zshenv.rhs
 Source16:   dotzshrc.rh
-Source17:   zshprompt.pl
 %endif
 Patch1: trim-unneeded-completions.patch
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
@@ -106,10 +103,6 @@
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl
 
-%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
-  cp -p %{SOURCE17} .
-%endif
-
 # Fix bindir path in some files
 perl -p -i -e 's|/usr/local/bin|%{_bindir}|' \
 Doc/intro.ms Misc/globtests.ksh Misc/globtests \
@@ -165,7 +158,7 @@
 
 %if 0%{?suse_version}
 # install SUSE configuration
-install -m 0644 %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysconfdir}
+install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}
 
 # Create custom completion directory
 mkdir %{buildroot}%{_sysconfdir}/zsh_completion.d
@@ -175,8 +168,8 @@
 # install RHEL || CentOS || Fedora configuration
 for i in zlogin zlogout zprofile zshrc zshenv; do
   install -m 0644 $RPM_SOURCE_DIR/${i}.rhs %{buildroot}%{_sysconfdir}/$i
-  install -D -m 0644 %{SOURCE16} %{buildroot}%{_sysconfdir}/skel/.zshrc
 done
+install -D -m 0644 %{SOURCE16} %{buildroot}%{_sysconfdir}/skel/.zshrc
 %endif
 
 # install help files
@@ -259,8 +252,6 @@
 %doc ChangeLog FEATURES LICENCE MACHINES META-FAQ NEWS README
 %doc Etc/* intro.ps Misc/compctl-examples
 
-%config(noreplace) %{_sysconfdir}/zshrc
-%config(noreplace) %{_sysconfdir}/zshenv
 %config(noreplace) %{_sysconfdir}/zprofile
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 %config(noreplace) %{_sysconfdir}/zlogin

++ zprofile ++
--- /var/tmp/diff_new_pack.h3Wmib/_old  2016-09-05 21:13:56.0 +0200
+++ /var/tmp/diff_new_pack.h3Wmib/_new  2016-09-05 21:13:56.0 +0200
@@ -1,8 +1,3 @@
 # we source the general profile here so we dont have to
 # reimplement it
-setopt nonomatch
-source /etc/profile
-unsetopt nonomatch
-# put your own login shell specific configuration below
-# this line 
-
+emulate sh -c 'source /etc/profile'






commit zsh for openSUSE:Factory

2016-06-05 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2016-06-05 14:19:58

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-12-17 15:53:52.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2016-06-05 
14:20:00.0 +0200
@@ -1,0 +2,5 @@
+Wed May 25 12:30:17 UTC 2016 - l...@gmx.com
+
+- Add CentOS [67] support
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.P5dyk9/_old  2016-06-05 14:20:01.0 +0200
+++ /var/tmp/diff_new_pack.P5dyk9/_new  2016-06-05 14:20:01.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zsh
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 Name:   zsh
 Version:5.2
-Release:0
+Release:0%{?dist}
 Summary:Shell with comprehensive completion
 License:MIT
 Group:  System/Shells
@@ -42,6 +42,7 @@
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
 Patch2: zsh-osc-completion.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  groff
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
 %if 0%{?suse_version} >= 1110
@@ -49,7 +50,6 @@
 BuildRequires:  yodl
 %endif
 %if 0%{?suse_version} >= 1210
-BuildRequires:  groff
 BuildRequires:  makeinfo
 BuildRequires:  texi2html
 %endif
@@ -63,8 +63,10 @@
 BuildRequires:  ncurses-devel
 BuildRequires:  pcre-devel
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
+%if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700
+%global __requires_exclude ^/bin/zsh$
+%endif
 BuildRequires:  libtermcap-devel
-BuildRequires:  tetex
 BuildRequires:  texi2html
 BuildRequires:  texinfo
 %endif
@@ -117,6 +119,11 @@
 %build
 
 %configure \
+%if 0%{?suse_version}
+--with-term-lib="ncursesw" \
+--enable-cflags="%{optflags} -fPIE -fstack-protector %(ncursesw6-config 
--cflags)" \
+--enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro" \
+%endif
 --enable-fndir=%{_datadir}/%{name}/${version}/functions \
 --enable-site-fndir=%{_datadir}/%{name}/site-functions \
 --enable-function-subdirs \
@@ -124,13 +131,12 @@
 --with-tcsetpgrp \
 --enable-cap \
 --enable-multibyte \
---enable-pcre \
---with-term-lib="ncursesw" \
---enable-cflags="%{optflags} -fPIE -fstack-protector %(ncursesw6-config 
--cflags)" \
---enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro"
+--enable-pcre
 
 # Copy _rpm completion from Redhat (bnc#900424)
+%if 0%{?suse_version}
 cp Completion/Redhat/Command/_rpm Completion/openSUSE/Command/_rpm
+%endif
 
 make all info html
 
@@ -178,10 +184,15 @@
 install -m 0644 Doc/help/* %{buildroot}%{_datadir}/%{name}/%{version}/help/
 
 # link zsh binary
+%if 0%{?suse_version} || 0%{?rhel} <= 6
 ln -sf %{_bindir}/zsh %{buildroot}/bin/zsh
+%endif
 
 # Remove versioned zsh binary
 rm -f %{buildroot}%{_bindir}/zsh-*
+%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
+rm -f %{buildroot}/%{_datadir}/info/dir
+%endif
 
 %if 0%{?suse_version} >= 1110
 %fdupes %{buildroot}
@@ -262,7 +273,9 @@
 %endif
 
 %{_bindir}/zsh
+%if 0%{?suse_version} || 0%{?rhel} <= 6
 /bin/zsh
+%endif
 %{_libdir}/zsh/
 %{_datadir}/zsh/
 %{_infodir}/zsh.info*.gz

++ zprofile.rhs ++
--- /var/tmp/diff_new_pack.P5dyk9/_old  2016-06-05 14:20:01.0 +0200
+++ /var/tmp/diff_new_pack.P5dyk9/_new  2016-06-05 14:20:01.0 +0200
@@ -5,7 +5,18 @@
 PATH="$PATH:$HOME/bin"
 export PATH
 
-# source profile
-if [ -f /etc/profile ]; then
-   source /etc/profile
-fi
+_src_etc_profile()
+{
+#  Make /etc/profile happier, and have possible ~/.zshenv options like
+# NOMATCH ignored.
+#
+emulate -L ksh
+
+# source profile
+if [ -f /etc/profile ]; then
+   source /etc/profile
+fi
+}
+_src_etc_profile
+
+unset -f _src_etc_profile



++ zshrc.rhs ++
--- /var/tmp/diff_new_pack.P5dyk9/_old  2016-06-05 14:20:01.0 +0200
+++ /var/tmp/diff_new_pack.P5dyk9/_new  2016-06-05 14:20:01.0 +0200
@@ -15,12 +15,36 @@
 # bindkey -e # emacs key bindings
 bindkey ' ' magic-space  # also do history expansion on space
 
-# from bashrc
-if [ "x$SHLVL" != "x1" ]; then # We're not a login shell
-for i in 

commit zsh for openSUSE:Factory

2015-12-17 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-12-17 15:53:50

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-12-09 19:32:42.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-12-17 
15:53:52.0 +0100
@@ -1,0 +2,5 @@
+Thu Dec 10 09:55:27 UTC 2015 - mplus...@suse.com
+
+- Add gpg signature
+
+---

New:

  zsh-5.2.tar.xz.asc
  zsh.keyring



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.D3zgBF/_old  2015-12-17 15:53:53.0 +0100
+++ /var/tmp/diff_new_pack.D3zgBF/_new  2015-12-17 15:53:53.0 +0100
@@ -24,9 +24,11 @@
 Group:  System/Shells
 Url:http://www.zsh.org
 Source0:http://www.zsh.org/pub/zsh-%{version}.tar.xz
-Source1:zshrc
-Source2:zshenv
-Source3:zprofile
+Source1:http://www.zsh.org/pub/zsh-%{version}.tar.xz.asc
+Source2:%{name}.keyring
+Source3:zshrc
+Source4:zshenv
+Source5:zprofile
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 Source11:   zlogin.rhs
 Source12:   zlogout.rhs
@@ -157,7 +159,7 @@
 
 %if 0%{?suse_version}
 # install SUSE configuration
-install -m 0644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{buildroot}%{_sysconfdir}
+install -m 0644 %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysconfdir}
 
 # Create custom completion directory
 mkdir %{buildroot}%{_sysconfdir}/zsh_completion.d




commit zsh for openSUSE:Factory

2015-12-09 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-12-09 19:32:40

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-11-08 14:35:24.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-12-09 
19:32:42.0 +0100
@@ -1,0 +2,14 @@
+Thu Dec  3 07:36:33 UTC 2015 - idon...@suse.com
+
+- Update to version 5.2
+  * The new module zsh/param/private can be loaded to allow the shell
+to define parameters that are private to a function scope (i.e. are
+not propagated to nested functions called within this function).
+  * The GLOB_STAR_SHORT option allows the pattern **/* to be shortened to
+just ** if no / follows. so **.c searches recursively for a file whose
+name has the suffix ".c".
+  * The effect of the WARN_CREATE_GLOBAL option has been significantly
+extended, so expect it to cause additional warning messages about
+parameters created globally within function scope.
+
+---

Old:

  zsh-5.1.1.tar.xz

New:

  zsh-5.2.tar.xz



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.DtypeH/_old  2015-12-09 19:32:44.0 +0100
+++ /var/tmp/diff_new_pack.DtypeH/_new  2015-12-09 19:32:44.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   zsh
-Version:5.1.1
+Version:5.2
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT

++ zsh-5.1.1.tar.xz -> zsh-5.2.tar.xz ++
 18397 lines of diff (skipped)




commit zsh for openSUSE:Factory

2015-11-08 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-11-08 14:35:23

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-09-17 09:18:29.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-11-08 
14:35:24.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov  5 15:51:37 UTC 2015 - idon...@suse.com
+
+- Remove -Wl,-z,now it breaks module loading rh#1277996 
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.0mW2YL/_old  2015-11-08 14:35:25.0 +0100
+++ /var/tmp/diff_new_pack.0mW2YL/_new  2015-11-08 14:35:25.0 +0100
@@ -113,6 +113,7 @@
 Util/reporter
 
 %build
+
 %configure \
 --enable-fndir=%{_datadir}/%{name}/${version}/functions \
 --enable-site-fndir=%{_datadir}/%{name}/site-functions \
@@ -124,7 +125,7 @@
 --enable-pcre \
 --with-term-lib="ncursesw" \
 --enable-cflags="%{optflags} -fPIE -fstack-protector %(ncursesw6-config 
--cflags)" \
---enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro,-z,now"
+--enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro"
 
 # Copy _rpm completion from Redhat (bnc#900424)
 cp Completion/Redhat/Command/_rpm Completion/openSUSE/Command/_rpm




commit zsh for openSUSE:Factory

2015-09-17 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-09-17 09:18:28

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-09-03 18:05:46.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-09-17 
09:18:29.0 +0200
@@ -1,0 +2,7 @@
+Sat Sep 12 07:47:27 UTC 2015 - idon...@suse.com
+
+- Update to version 5.1.1
+  * Bug fixes for regressions in 5.1 release
+- Remove read1char_signals.patch, fixed upstream.
+
+---

Old:

  read1char_signals.patch
  zsh-5.1.tar.xz

New:

  zsh-5.1.1.tar.xz



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.oQ7UBa/_old  2015-09-17 09:18:30.0 +0200
+++ /var/tmp/diff_new_pack.oQ7UBa/_new  2015-09-17 09:18:30.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   zsh
-Version:5.1
+Version:5.1.1
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT
@@ -39,7 +39,6 @@
 Patch1: trim-unneeded-completions.patch
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
 Patch2: zsh-osc-completion.patch
-Patch3: read1char_signals.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -99,7 +98,6 @@
 %patch1 -p1
 %endif
 %patch2 -p1
-%patch3 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ zsh-5.1.tar.xz -> zsh-5.1.1.tar.xz ++
 1823 lines of diff (skipped)




commit zsh for openSUSE:Factory

2015-09-03 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-09-03 17:59:47

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is "zsh"

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-07-05 17:57:06.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-09-03 
18:05:46.0 +0200
@@ -1,0 +2,31 @@
+Tue Sep  1 18:57:20 UTC 2015 - idon...@suse.com
+
+- Add read1char_signals.patch to fix workers/36373 
+
+---
+Tue Sep  1 06:36:57 UTC 2015 - idon...@suse.com
+
+- Update to version 5.1
+  * The print builtin has new options -x and -X to expand tabs.
+  * Several new command completions and numerous updates to others.
+  * Options to "fc" to segregate internal and shared history.
+  * All emulations including "sh" use multibyte by default; several
+repairs to multibyte handling.
+  * ZLE supports "bracketed paste" mode to avoid interpreting pasted
+newlines as accept-line.  Pastes can be highlighted for visibility
+and to make it more obvious whether accept-line has occurred.
+  * Improved (though still not perfect) POSIX compatibility for getopts
+builtin when POSIX_BUILTINS is set.
+  * New setopt APPEND_CREATE for POSIX-compatible NO_CLOBBER behavior.
+  * Completion of date values now displays in a calendar format when
+the complist module is available.  Controllable by zstyle.
+  * New parameter UNDO_LIMIT_NO for more control over ZLE undo repeat.
+  * Several repairs/improvements to the contributed narrow-to-region
+ZLE function.
+  * Many changes to child-process and signal handling to eliminate race
+conditions and avoid deadlocks on descriptor and memory management.
+  * New builtin sysopen in zsh/system module for detailed control of
+file descriptor modes. 
+- Remove printf-regress.patch, upstream.
+
+---

Old:

  printf-regress.patch
  zsh-5.0.8.tar.bz2

New:

  read1char_signals.patch
  zsh-5.1.tar.xz



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.76OGBa/_old  2015-09-03 18:05:56.0 +0200
+++ /var/tmp/diff_new_pack.76OGBa/_new  2015-09-03 18:05:56.0 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   zsh
-Version:5.0.8
+Version:5.1
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT
 Group:  System/Shells
 Url:http://www.zsh.org
-Source0:http://www.zsh.org/pub/zsh-%{version}.tar.bz2
+Source0:http://www.zsh.org/pub/zsh-%{version}.tar.xz
 Source1:zshrc
 Source2:zshenv
 Source3:zprofile
@@ -39,7 +39,7 @@
 Patch1: trim-unneeded-completions.patch
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
 Patch2: zsh-osc-completion.patch
-Patch3: printf-regress.patch
+Patch3: read1char_signals.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}

++ read1char_signals.patch ++
commit 3747f6b6ab20ac9082909dd0cb3376e4e35f2c6c
Author: Barton E. Schaefer 
Date:   Tue Sep 1 11:26:06 2015 -0700

36376: handle signals during read1char() so it is possible to interrupt 
correct/correctall prompts

diff --git a/Src/utils.c b/Src/utils.c
index 4c4dc55..90f7c33 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2538,11 +2538,16 @@ static int
 read1char(int echo)
 {
 char c;
+int q = queue_signal_level();
 
+dont_queue_signals();
 while (read(SHTTY, , 1) != 1) {
-   if (errno != EINTR || errflag || retflag || breaks || contflag)
+   if (errno != EINTR || errflag || retflag || breaks || contflag) {
+   restore_queue_signals(q);
return -1;
+   }
 }
+restore_queue_signals(q);
 if (echo)
write_loop(SHTTY, , 1);
 return STOUC(c);



commit zsh for openSUSE:Factory

2015-07-05 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-07-05 17:57:05

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-06-03 08:23:28.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-07-05 
17:57:06.0 +0200
@@ -1,0 +2,5 @@
+Sun Jun 14 12:55:42 UTC 2015 - idon...@suse.com
+
+- Add printf-regress.patch to fix a printf regression boo#934175 
+
+---

New:

  printf-regress.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.pRdS7A/_old  2015-07-05 17:57:07.0 +0200
+++ /var/tmp/diff_new_pack.pRdS7A/_new  2015-07-05 17:57:07.0 +0200
@@ -39,6 +39,7 @@
 Patch1: trim-unneeded-completions.patch
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
 Patch2: zsh-osc-completion.patch
+Patch3: printf-regress.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -98,6 +99,7 @@
 %patch1 -p1
 %endif
 %patch2 -p1
+%patch3 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ printf-regress.patch ++
From ac26fafa03c30e8c79e4bd70bdbb68d025643ee7 Mon Sep 17 00:00:00 2001
From: Oliver Kiddle o...@zsh.org
Date: Sun, 7 Jun 2015 23:07:26 +0200
Subject: [PATCH] 35412: fix for - flag when formating strings with printf

---
 ChangeLog  | 5 +
 Src/builtin.c  | 2 +-
 Test/B03print.ztst | 8 ++--
 3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/Src/builtin.c b/Src/builtin.c
index 643b8c6..a3d847f 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4518,7 +4518,7 @@ bin_print(char *name, char **args, Options ops, int func)
lleft -= chars;
ptr += chars;
}
-   if (width  0  flags[2]) width = -width;
+   if (width  0  flags[3]) width = -width;
if (width  0  lchars  width)
count += fprintf(fout, %*c, width - lchars, ' ');
count += fwrite(b, 1, lbytes, fout);
diff --git a/Test/B03print.ztst b/Test/B03print.ztst
index 54d6350..eb79c4d 100644
--- a/Test/B03print.ztst
+++ b/Test/B03print.ztst
@@ -169,11 +169,15 @@
 0:%n count zeroed on format reuse
 1
 
-# this may fill spec string with '%0+- #*.*lld\0' - 13 characters
- printf '%1$0+- #-08.5dx\n' 123
+# this may fill spec string with '%0'+- #*.*lld\0' - 14 characters
+ printf '%1$0''+- #-08.5dx\n 123
 0:maximal length format specification
 +00123  x
 
+ printf x:%-20s:y\n fubar
+0:left-justification of string
+x:fubar   :y
+
  printf '%*smorning\n' -5 good
 0:negative width specified
 good morning



commit zsh for openSUSE:Factory

2015-06-03 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-06-03 08:23:27

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-05-10 10:53:53.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-06-03 
08:23:28.0 +0200
@@ -1,0 +2,30 @@
+Sun May 31 19:15:36 UTC 2015 - idon...@suse.com
+
+- Update to version 5.0.8
+  * Global aliases can be created for syntactic tokens such as command
+separators (;, , |, , ||), redirection operators, etc.
+  * There have been various further improvements to builtin handling
+with the POSIX_BUILTINS option (off by default) for compatibility with
+the POSIX standard.
+  * 'whence -v' is now more informative, and 'whence -S' shows you
+how a full chain of symbolic links resolves to a command.
+  * The 'p' parameter flag now allows an argument to be specified
+as a reference to a variable, e.g. ${(ps.$sep.)foo} to split $foo
+on a string given by $sep.
+  * The option FORCE_FLOAT now forces variables, not just constants,
+to floating point in arithmetic expressions.
+  * The type of an assignment in arithmetic expressions, e.g. the
+type seen by the variable res in $(( res = a = b )), is now
+more logical and C-like.
+  * The default binding of 'u' in vi command mode has changed to undo
+multiple changes when invoked repeatedly. '^R' is now bound to redo
+changes. To revert to toggling of the last edit use:
+bindkey -a u vi-undo-change
+  * Compatibility with Vim has been improved for vi editing mode. Most
+notably, Vim style text objects are supported and the region can be
+manipulated with vi commands in the same manner as Vim's visual mode.
+  * Elements of the watch variable may now be patterns.
+  * The logic for retrying history locking has been improved.
+- Remove gcc5-fix.patch, fixed upstream.
+
+---

Old:

  gcc5-fix.patch
  zsh-5.0.7.tar.bz2

New:

  zsh-5.0.8.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.Cv528x/_old  2015-06-03 08:23:29.0 +0200
+++ /var/tmp/diff_new_pack.Cv528x/_new  2015-06-03 08:23:29.0 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   zsh
-Version:5.0.7
+Version:5.0.8
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT
 Group:  System/Shells
 Url:http://www.zsh.org
-Source0:
http://sourceforge.net/projects/zsh/files/zsh/%{version}/zsh-%{version}.tar.bz2
+Source0:http://www.zsh.org/pub/zsh-%{version}.tar.bz2
 Source1:zshrc
 Source2:zshenv
 Source3:zprofile
@@ -37,9 +37,8 @@
 Source17:   zshprompt.pl
 %endif
 Patch1: trim-unneeded-completions.patch
-Patch2: gcc5-fix.patch
 # PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
-Patch3: zsh-osc-completion.patch
+Patch2: zsh-osc-completion.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -99,7 +98,6 @@
 %patch1 -p1
 %endif
 %patch2 -p1
-%patch3 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ zsh-5.0.7.tar.bz2 - zsh-5.0.8.tar.bz2 ++
 53083 lines of diff (skipped)




commit zsh for openSUSE:Factory

2015-05-10 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-05-10 10:53:51

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-04-25 16:46:11.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-05-10 
10:53:53.0 +0200
@@ -1,0 +2,11 @@
+Sun May  3 07:36:02 UTC 2015 - dmitr...@opensuse.org
+
+- Fix openSUSE versions in osc completion
+  * zsh-osc-completion.patch
+
+---
+Wed Apr 29 08:30:49 UTC 2015 - idon...@suse.com
+
+- Add gcc5-fix.patch to fix signames.c generation with gcc5 
+
+---

New:

  gcc5-fix.patch
  zsh-osc-completion.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.Wtl1vz/_old  2015-05-10 10:53:54.0 +0200
+++ /var/tmp/diff_new_pack.Wtl1vz/_new  2015-05-10 10:53:54.0 +0200
@@ -37,6 +37,9 @@
 Source17:   zshprompt.pl
 %endif
 Patch1: trim-unneeded-completions.patch
+Patch2: gcc5-fix.patch
+# PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc 
completion
+Patch3: zsh-osc-completion.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -95,6 +98,8 @@
 %if 0%{?suse_version}
 %patch1 -p1
 %endif
+%patch2 -p1
+%patch3 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ gcc5-fix.patch ++
Index: zsh-5.0.7/Src/zsh.mdd
===
--- zsh-5.0.7.orig/Src/zsh.mdd
+++ zsh-5.0.7/Src/zsh.mdd
@@ -23,7 +23,7 @@ hdrdeps=zshcurses.h zshterm.h
 
 signames.c: signames1.awk signames2.awk ../config.h @SIGNAL_H@
$(AWK) -f $(sdir)/signames1.awk @SIGNAL_H@ sigtmp.c
-   $(CPP) sigtmp.c sigtmp.out
+   $(CPP) -P sigtmp.c sigtmp.out
$(AWK) -f $(sdir)/signames2.awk sigtmp.out  $@
rm -f sigtmp.c sigtmp.out
 
++ zsh-osc-completion.patch ++
Index: zsh-5.0.7/Completion/openSUSE/Command/_osc
===
--- zsh-5.0.7.orig/Completion/openSUSE/Command/_osc
+++ zsh-5.0.7/Completion/openSUSE/Command/_osc
@@ -16,8 +16,8 @@
 # version 0.2
 #
 
-OSC_BUILD_TARGETS=openSUSE_12.1 openSUSE_12.2 openSUSE_12.3 
openSUSE_Tumbleweed openSUSE_Factory SLE_11_SP2
-OSC_PROJECTS=openSUSE:Factory openSUSE:Tumbleweed openSUSE:12.3 openSUSE:12.2 
openSUSE:12.1
+OSC_BUILD_TARGETS=openSUSE_13.1 openSUSE_13.2 openSUSE_Tumbleweed 
openSUSE_Factory SLE_11_SP3 SLE_12
+OSC_PROJECTS=openSUSE:Factory openSUSE:Tumbleweed openSUSE:13.2 openSUSE:13.1
 
 # user defined variables $OSC_BUILD_TARGETS_EXTRA and
 # $OSC_PROJECTS_EXTRA can add to the project/build target list



commit zsh for openSUSE:Factory

2015-04-25 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-04-25 16:46:10

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-02-16 17:51:06.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-04-25 
16:46:11.0 +0200
@@ -1,0 +2,5 @@
+Wed Apr 22 12:45:53 UTC 2015 - hvo...@opensuse.org
+
+- Nowadays more and more terminals set $TERM to xterm-256color
+  
+---



Other differences:
--
++ zshrc ++
--- /var/tmp/diff_new_pack.bfMo8c/_old  2015-04-25 16:46:12.0 +0200
+++ /var/tmp/diff_new_pack.bfMo8c/_new  2015-04-25 16:46:12.0 +0200
@@ -91,7 +91,7 @@
 bindkey ^[[5~ history-beginning-search-backward-end
 bindkey ^[[6~ history-beginning-search-forward-end
 
-if [[ $TERM == xterm ]] then
+if [[ $TERM == xterm || $TERM == xterm-256color ]] then
 bindkey^[2;5~yank
 bindkey^[3;5~delete-char
 bindkey^[5;5~up-history
@@ -113,7 +113,7 @@
 bindkey^Hbackward-delete-char
 
 # Home and End
-if [[ $TERM == xterm ]] then
+if [[ $TERM == xterm || $TERM == xterm-256color ]] then
 # Normal keypad and cursor of xterm
 bindkey^[[1~ history-search-backward
 bindkey^[[4~ set-mark-command
@@ -138,7 +138,7 @@
 fi
 
 # Application keypad and cursor of xterm
-if [[ $TERM == xterm ]] then
+if [[ $TERM == xterm || $TERM == xterm-256color ]] then
 bindkey^[OD  backward-char
 bindkey^[OC  forward-char
 bindkey^[OA  up-history
@@ -196,13 +196,13 @@
 bindkey^[[32~undefined-key
 bindkey^[[33~undefined-key
 bindkey^[[34~undefined-key
-if [[ $TERM == xterm ]] then
+if [[ $TERM == xterm || $TERM == xterm-256color ]] then
 # Not common
 bindkey^[[35~undefined-key
 bindkey^[[36~undefined-key
 fi
 
-if [[ $TERM == xterm ]] then
+if [[ $TERM == xterm || $TERM == xterm-256color ]] then
 # Application keypad and cursor of xterm
 # with NumLock ON
 #
@@ -230,7 +230,7 @@
 #  EMACS line editing
 if [[ $ZSHEDIT == emacs ]] then
 # ... xterm application cursor
-if [[ $TERM == xterm ]] then
+if [[ $TERM == xterm || $TERM == xterm-256color ]] then
bindkey^[^[OD backward-word
bindkey^[^[OC forward-word
bindkey^[^[OA up-history




commit zsh for openSUSE:Factory

2015-02-16 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-02-16 15:02:26

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-01-30 20:30:58.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-02-16 
17:51:06.0 +0100
@@ -1,0 +2,6 @@
+Tue Feb 10 08:27:53 UTC 2015 - dims...@opensuse.org
+
+- BuildRequire texi2html instead of texinfo: the packages have been
+  split completely now.
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.bDuvPA/_old  2015-02-16 17:51:07.0 +0100
+++ /var/tmp/diff_new_pack.bDuvPA/_new  2015-02-16 17:51:07.0 +0100
@@ -47,7 +47,7 @@
 %if 0%{?suse_version} = 1210
 BuildRequires:  groff
 BuildRequires:  makeinfo
-BuildRequires:  texinfo
+BuildRequires:  texi2html
 %endif
 %else
 Requires(pre):  /sbin/install-info

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



commit zsh for openSUSE:Factory

2015-01-30 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-01-30 20:30:57

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2015-01-20 19:11:52.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-01-30 
20:30:58.0 +0100
@@ -1,0 +2,5 @@
+Wed Jan 28 17:53:20 UTC 2015 - idon...@suse.com
+
+- Add back rpm completion file (bnc#900424) 
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.5u1ubG/_old  2015-01-30 20:30:59.0 +0100
+++ /var/tmp/diff_new_pack.5u1ubG/_new  2015-01-30 20:30:59.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zsh
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -123,6 +123,9 @@
 --enable-cflags=%{optflags} -fPIE -fstack-protector %(ncursesw6-config 
--cflags) \
 --enable-ldflags=%(ncursesw6-config --libs) -pie -Wl,-z,relro,-z,now
 
+# Copy _rpm completion from Redhat (bnc#900424)
+cp Completion/Redhat/Command/_rpm Completion/openSUSE/Command/_rpm
+
 make all info html
 
 # generate intro.ps

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



commit zsh for openSUSE:Factory

2015-01-20 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2015-01-20 19:11:51

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2014-10-11 19:25:00.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2015-01-20 
19:11:52.0 +0100
@@ -1,0 +2,5 @@
+Wed Jan 14 09:57:47 UTC 2015 - idon...@suse.com
+
+- Harden CFLAGS/LDFLAGS 
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.Jnifgq/_old  2015-01-20 19:11:53.0 +0100
+++ /var/tmp/diff_new_pack.Jnifgq/_new  2015-01-20 19:11:53.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zsh
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -120,8 +120,8 @@
 --enable-multibyte \
 --enable-pcre \
 --with-term-lib=ncursesw \
---enable-cflags=%{optflags} %(ncursesw6-config --cflags) \
---enable-ldflags=%(ncursesw6-config --libs)
+--enable-cflags=%{optflags} -fPIE -fstack-protector %(ncursesw6-config 
--cflags) \
+--enable-ldflags=%(ncursesw6-config --libs) -pie -Wl,-z,relro,-z,now
 
 make all info html
 

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



commit zsh for openSUSE:Factory

2014-10-11 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2014-10-11 19:24:56

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2014-09-10 07:27:38.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2014-10-11 
19:25:00.0 +0200
@@ -1,0 +2,9 @@
+Thu Oct  9 08:24:20 UTC 2014 - idon...@suse.com
+
+- Update to version 5.0.7
+  * Small bugfixes
+  * Includes a security fix to disallow evaluation of the
+initial values of integer variables imported from the environment
+- Remove zsh-fix-pcre-n.patch, fixed upstream
+
+---

Old:

  zsh-5.0.6.tar.bz2
  zsh-fix-pcre-n.patch

New:

  zsh-5.0.7.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.98VshA/_old  2014-10-11 19:25:00.0 +0200
+++ /var/tmp/diff_new_pack.98VshA/_new  2014-10-11 19:25:00.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   zsh
-Version:5.0.6
+Version:5.0.7
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT
@@ -37,8 +37,6 @@
 Source17:   zshprompt.pl
 %endif
 Patch1: trim-unneeded-completions.patch
-# PATCH-FIX-UPSTREAM Fix pcre_match() -n options
-Patch2: zsh-fix-pcre-n.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -97,7 +95,6 @@
 %if 0%{?suse_version}
 %patch1 -p1
 %endif
-%patch2 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ zsh-5.0.6.tar.bz2 - zsh-5.0.7.tar.bz2 ++
 6048 lines of diff (skipped)

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



commit zsh for openSUSE:Factory

2014-09-09 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2014-09-10 07:27:36

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2014-08-31 09:58:43.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2014-09-10 
07:27:38.0 +0200
@@ -1,0 +2,5 @@
+Sun Sep  7 20:05:41 UTC 2014 - idon...@suse.com
+
+- Add zsh-fix-pcre-n.patch to fix pcre_match() -n option 
+
+---

New:

  zsh-fix-pcre-n.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.VciBaV/_old  2014-09-10 07:27:39.0 +0200
+++ /var/tmp/diff_new_pack.VciBaV/_new  2014-09-10 07:27:39.0 +0200
@@ -37,6 +37,8 @@
 Source17:   zshprompt.pl
 %endif
 Patch1: trim-unneeded-completions.patch
+# PATCH-FIX-UPSTREAM Fix pcre_match() -n options
+Patch2: zsh-fix-pcre-n.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -95,6 +97,7 @@
 %if 0%{?suse_version}
 %patch1 -p1
 %endif
+%patch2 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ zsh-fix-pcre-n.patch ++
commit 956829c18e8ade666083f1c69043a16a80f70b0d
Author: Barton E. Schaefer schae...@zsh.org
Date:   Sun Sep 7 10:48:32 2014 -0700

33122: typo from 32891 caused incorrect matches for pcre_match -n

diff --git a/Src/Modules/pcre.c b/Src/Modules/pcre.c
index 040a33f..2393cd1 100644
--- a/Src/Modules/pcre.c
+++ b/Src/Modules/pcre.c
@@ -289,7 +289,7 @@ bin_pcre_match(char *nam, char **args, Options ops, 
UNUSED(int func))
matched_portion = OPT_ARG(ops,c);
 }
 if(OPT_HASARG(ops,c='n')) { /* The offset position to start the search, in 
bytes. */
-   if ((offset_start = getposint(OPT_ARG(ops,c), nam)  0))
+   if ((offset_start = getposint(OPT_ARG(ops,c), nam))  0)
return 1;
 }
 /* For the entire match, 'Return' the offset byte positions instead of the 
matched string */
diff --git a/Test/V07pcre.ztst b/Test/V07pcre.ztst
index f5b05de..3a65331 100644
--- a/Test/V07pcre.ztst
+++ b/Test/V07pcre.ztst
@@ -108,3 +108,12 @@
 1
 0 xo→t →t
 0 Xo→t →t
+
+  string=The following zip codes: 78884 90210 99513
+  pcre_compile -m \d{5}
+  pcre_match -b -- $string  print $MATCH; ZPCRE_OP: $ZPCRE_OP
+  pcre_match -b -n $ZPCRE_OP[(w)2] -- $string || print failed
+  print $MATCH; ZPCRE_OP: $ZPCRE_OP
+0:pcre_match -b and pcre_match -n
+78884; ZPCRE_OP: 25 30
+90210; ZPCRE_OP: 31 36
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit zsh for openSUSE:Factory

2014-08-31 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2014-08-31 09:58:42

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2014-08-07 08:07:36.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2014-08-31 
09:58:43.0 +0200
@@ -1,0 +2,7 @@
+Thu Aug 28 19:14:23 UTC 2014 - idon...@suse.com
+
+- Update to version 5.0.6
+  * See included ChangeLog
+- Remove zsh-update-zypper-completion.patch, fixed upstream
+
+---

Old:

  zsh-5.0.5.tar.bz2
  zsh-update-zypper-completion.patch

New:

  zsh-5.0.6.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.h8qZlT/_old  2014-08-31 09:58:45.0 +0200
+++ /var/tmp/diff_new_pack.h8qZlT/_new  2014-08-31 09:58:45.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   zsh
-Version:5.0.5
+Version:5.0.6
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT
@@ -37,7 +37,6 @@
 Source17:   zshprompt.pl
 %endif
 Patch1: trim-unneeded-completions.patch
-Patch2: zsh-update-zypper-completion.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -95,7 +94,6 @@
 %setup -q -n %{name}-%{version}
 %if 0%{?suse_version}
 %patch1 -p1
-%patch2 -p1
 %endif
 
 # Remove executable bit
@@ -137,10 +135,6 @@
 # remove some unwanted files in Etc/
 rm -f Etc/Makefile* Etc/*.yo
 
-# FATE#316521
-mv Completion/openSUSE/Command/_SuSEconfig 
Completion/openSUSE/Command/_SUSEconfig
-sed -i s,_SuSEconfig,_SUSEconfig, Completion/openSUSE/Command/.distfiles
-
 %install
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 rm -rf %{buildroot}

++ zsh-5.0.5.tar.bz2 - zsh-5.0.6.tar.bz2 ++
 19641 lines of diff (skipped)

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



commit zsh for openSUSE:Factory

2014-08-07 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2014-08-07 08:07:33

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2014-01-23 15:59:18.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2014-08-07 
08:07:36.0 +0200
@@ -1,0 +2,6 @@
+Wed Aug  6 12:45:57 UTC 2014 - idon...@suse.com
+
+- Rename Completion/openSUSE/Command/_SuSEconfig to _SUSEconfig
+  (bnc#888989 fate#316521)
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.wzJc3W/_old  2014-08-07 08:07:37.0 +0200
+++ /var/tmp/diff_new_pack.wzJc3W/_new  2014-08-07 08:07:37.0 +0200
@@ -137,6 +137,10 @@
 # remove some unwanted files in Etc/
 rm -f Etc/Makefile* Etc/*.yo
 
+# FATE#316521
+mv Completion/openSUSE/Command/_SuSEconfig 
Completion/openSUSE/Command/_SUSEconfig
+sed -i s,_SuSEconfig,_SUSEconfig, Completion/openSUSE/Command/.distfiles
+
 %install
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 rm -rf %{buildroot}

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



commit zsh for openSUSE:Factory

2014-01-23 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2014-01-17 13:18:37

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2014-01-07 13:59:55.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2014-01-23 
15:59:18.0 +0100
@@ -1,0 +2,11 @@
+Fri Jan 17 09:42:03 UTC 2014 - idon...@suse.com
+
+- Update zsh-update-zypper-completion.patch to v0.3
+
+---
+Thu Jan 16 09:44:48 UTC 2014 - idon...@suse.com
+
+- Add zsh-update-zypper-completion.patch to update zypper
+  completions, patch by Holger Macht and Thomas Mitterfellner.
+
+---

New:

  zsh-update-zypper-completion.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.TU6dm2/_old  2014-01-23 15:59:19.0 +0100
+++ /var/tmp/diff_new_pack.TU6dm2/_new  2014-01-23 15:59:19.0 +0100
@@ -37,6 +37,7 @@
 Source17:   zshprompt.pl
 %endif
 Patch1: trim-unneeded-completions.patch
+Patch2: zsh-update-zypper-completion.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -94,6 +95,7 @@
 %setup -q -n %{name}-%{version}
 %if 0%{?suse_version}
 %patch1 -p1
+%patch2 -p1
 %endif
 
 # Remove executable bit

++ zsh-update-zypper-completion.patch ++
Index: zsh-5.0.5/Completion/openSUSE/Command/_zypper
===
--- zsh-5.0.5.orig/Completion/openSUSE/Command/_zypper
+++ zsh-5.0.5/Completion/openSUSE/Command/_zypper
@@ -1,6 +1,7 @@
 #compdef zypper
 #
 # Copyright (C) 2009 Holger Macht hol...@homac.de
+# Copyright (C) 2014 Thomas Mitterfellner thomas.mitterfell...@gmail.com
 #
 # This file is released under the GPLv2.
 #
@@ -9,60 +10,169 @@
 # Toggle verbose completions: zstyle ':completion:*:zypper:*' verbose no
 # zstyle ':completion:*:zypper-subcommand:*' 
verbose no
 #
-#  version 0.1
+#  version 0.3
 #
 # Main dispatcher
 
+function _zypper_caching_policy () {
+# rebuild if zsh's cache is older than zypper's
+if test /var/cache/zypp/raw -nt $1; then
+return 0
+else
+return 1
+fi
+}
+
 _zypper() {
+typeset -A opt_args
+local context curcontext=$curcontext state line
+
 if (( CURRENT  2 ))  [[ ${words[2]} != help ]]; then
 # Remember the subcommand name
-   local cmd=${words[2]}
+local cmd=${words[2]}
 # Set the context for the subcommand.
-   curcontext=${curcontext%:*:*}:zypper-subcommand
+curcontext=${curcontext%:*:*}:zypper-subcommand
 # Narrow the range of words we are looking at to exclude `zypper'
-   (( CURRENT-- ))
-   shift words
-   
-   _zypper_cmd_do $cmd
+(( CURRENT-- ))
+shift words
+
+_zypper_cmd_do $cmd
 else
-   local hline
-   local -a cmdlist
-   local tag=0
-   _call_program help-commands LANG=C zypper help | sed -e 
':a;N;$!ba;s/\n\t\t\t\t/ /g' | while read -A hline; do
-   # start parsing with Global Options:
-   [[ $hline =~ ^Global Options: ]]  tag=1
-   [[ $tag = 0 ]]  continue
-   # all commands have to start with lower case letters
-   [[ $hline[1] =~ ^[A-Z] ]]  continue
-   (( ${#hline}  2 ))  continue
-
-   # cut comma at end of command
-   hline[1]=`echo $hline[1] | sed -e 's/\(^.*\),/\1/'`
-
-   # ${hline[1]%,} truncates the last ','
-   cmdlist=($cmdlist ${hline[1]%,}:${hline[2,-1]})
-   done
-   _describe -t zypper-commands 'zypper command' cmdlist
+local hline
+local -a cmdlist
+local tag=0
+_call_program help-commands LANG=C zypper help | sed -e 
':a;N;$!ba;s/\n\t\t\t\t/ /g' | while read -A hline; do
+# start parsing with Global Options:
+[[ $hline =~ ^Global Options: ]]  tag=1
+[[ $tag = 0 ]]  continue
+# all commands have to start with lower case letters
+[[ $hline[1] =~ ^[A-Z] ]]  continue
+(( ${#hline}  2 ))  continue
+
+# cut comma at end of command
+hline[1]=`echo $hline[1] | sed -e 's/\(^.*\),/\1/'`
+
+# ${hline[1]%,} truncates the last ','
+cmdlist=($cmdlist ${hline[1]%,}:${hline[2,-1]})
+done
+_describe -t zypper-commands 'zypper command' cmdlist
 fi
 }
 
+_all_repos() {
+local -a repos
+repos=( $(zypper -q lr | tail -n +3 | cut 

commit zsh for openSUSE:Factory

2014-01-07 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2014-01-07 13:59:54

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2013-12-26 17:42:45.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2014-01-07 
13:59:55.0 +0100
@@ -1,0 +2,7 @@
+Tue Jan  7 08:40:21 UTC 2014 - idon...@suse.com
+
+- Update to version 5.0.5
+  * Fixes a couple of regression in 5.0.4
+- Remove zsh-pipefix.patch, merged upstream
+
+---

Old:

  zsh-5.0.4.tar.bz2
  zsh-pipefix.patch

New:

  zsh-5.0.5.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.UdS9Wj/_old  2014-01-07 13:59:56.0 +0100
+++ /var/tmp/diff_new_pack.UdS9Wj/_new  2014-01-07 13:59:56.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zsh
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   zsh
-Version:5.0.4
+Version:5.0.5
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT
@@ -37,7 +37,6 @@
 Source17:   zshprompt.pl
 %endif
 Patch1: trim-unneeded-completions.patch
-Patch2: zsh-pipefix.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -96,7 +95,6 @@
 %if 0%{?suse_version}
 %patch1 -p1
 %endif
-%patch2 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ zsh-5.0.4.tar.bz2 - zsh-5.0.5.tar.bz2 ++
 1602 lines of diff (skipped)

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



commit zsh for openSUSE:Factory

2013-12-26 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2013-12-26 17:42:43

Comparing /work/SRC/openSUSE:Factory/zsh (Old)
 and  /work/SRC/openSUSE:Factory/.zsh.new (New)


Package is zsh

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2013-04-22 14:33:20.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2013-12-26 
17:42:45.0 +0100
@@ -1,0 +2,10 @@
+Wed Dec 25 12:25:03 UTC 2013 - idon...@suse.com
+
+- Update to version 5.0.4
+  * Small bugfix release
+- Add zsh-pipefix.patch to import pipe fixes from zsh.git
+- Remove upstream patches
+  * zsh-osc-suseversion.patch
+  * zsh-zypper-completion.patch
+
+---

Old:

  zsh-5.0.2.tar.bz2
  zsh-osc-suseversion.patch
  zsh-zypper-completion.patch

New:

  zsh-5.0.4.tar.bz2
  zsh-pipefix.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.SY2wAX/_old  2013-12-26 17:42:46.0 +0100
+++ /var/tmp/diff_new_pack.SY2wAX/_new  2013-12-26 17:42:46.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   zsh
-Version:5.0.2
+Version:5.0.4
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT
@@ -36,9 +36,8 @@
 Source16:   dotzshrc.rh
 Source17:   zshprompt.pl
 %endif
-Patch1: zsh-zypper-completion.patch
-Patch2: zsh-osc-suseversion.patch
-Patch3: trim-unneeded-completions.patch
+Patch1: trim-unneeded-completions.patch
+Patch2: zsh-pipefix.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -94,11 +93,10 @@
 
 %prep
 %setup -q -n %{name}-%{version}
-%patch1 -p1
-%patch2 -p1
 %if 0%{?suse_version}
-%patch3 -p1
+%patch1 -p1
 %endif
+%patch2 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl
@@ -129,15 +127,6 @@
 
 make all info html
 
-# make help text files
-install -d Help
-pushd Help/
-troff -Tlatin1 -t -mandoc ../Doc/zshbuiltins.1 | \
-   grotty -cbou | \
-   sed -e 's/±/{+|-}/' | \
-   ../Util/helpfiles
-popd
-
 # generate intro.ps
 groff -Tps -ms Doc/intro.ms  intro.ps
 
@@ -179,7 +168,7 @@
 
 # install help files
 install -m 0755 -Dd%{buildroot}%{_datadir}/%{name}/%{version}/help
-install -m 0644 Help/* %{buildroot}%{_datadir}/%{name}/%{version}/help/
+install -m 0644 Doc/help/* %{buildroot}%{_datadir}/%{name}/%{version}/help/
 
 # link zsh binary
 ln -sf %{_bindir}/zsh %{buildroot}/bin/zsh

++ zsh-5.0.2.tar.bz2 - zsh-5.0.4.tar.bz2 ++
 22175 lines of diff (skipped)

++ zsh-pipefix.patch ++
diff --git a/Src/exec.c b/Src/exec.c
index dccdc2b..4480033 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -1691,6 +1691,7 @@ execpline2(Estate state, wordcode pcode,
execcmd(state, input, output, how, last1 ? 1 : 2);
 else {
int old_list_pipe = list_pipe;
+   int subsh_close = -1;
Wordcode next = state-pc + (*state-pc), pc;
wordcode code;
 
@@ -1738,6 +1739,7 @@ execpline2(Estate state, wordcode pcode,
} else {
/* otherwise just do the pipeline normally. */
addfilelist(NULL, pipes[0]);
+   subsh_close = pipes[0];
execcmd(state, input, pipes[1], how, 0);
}
zclose(pipes[1]);
@@ -1750,6 +1752,8 @@ execpline2(Estate state, wordcode pcode,
execpline2(state, *state-pc++, how, pipes[0], output, last1);
list_pipe = old_list_pipe;
cmdpop();
+   if (subsh_close != pipes[0])
+   zclose(pipes[0]);
 }
 }
 
diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst
index c8320a1..61d24fe 100644
--- a/Test/A05execution.ztst
+++ b/Test/A05execution.ztst
@@ -202,3 +202,15 @@ F:the bug is still there or it reappeared. See 
workers-29973 for details.
 0:Check $pipestatus with a known difficult case
 1 0 1 0 0
 F:This similar test was triggering a reproducible failure with pipestatus.
+
+  { unsetopt MONITOR } 2/dev/null
+  coproc { read -Et 5 || kill -INT $$ }
+  print -u $ZTST_fd 'This test takes 5 seconds to fail...'
+  { printf %d\n {1..2} } | ( read -E )
+  print -p done
+  read -Ep
+0:Bug regression: piping a shell construct to an external process may hang
+1
+done
+F:This test checks for a file descriptor leak that could cause the left
+F:side of a pipe to block on write after the right side has exited
diff --git a/Src/exec.c b/Src/exec.c
index 4480033..f16cfd3 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -2389,7 +2389,7 @@ static void
 execcmd(Estate state, int input, int output, int how, int last1)
 {
 HashNode hn = NULL;
-LinkList args;
+LinkList args, filelist = NULL;
 LinkNode 

commit zsh for openSUSE:Factory

2013-04-02 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2013-04-02 14:02:24

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-03-22 09:22:19.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2013-04-02 
14:02:26.0 +0200
@@ -4 +4 @@
-- Fix custom completion support via /etc/zsh_completion.d
+- Fix custom completion support via /etc/zsh_completion.d (bnc#811356)



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



commit zsh for openSUSE:Factory

2013-03-22 Thread h_root
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.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2013-03-22 
09:22:19.0 +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.0 +0100
+++ /var/tmp/diff_new_pack.E7yezV/_new  2013-03-22 09:22:20.0 +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.0 +0100
+++ /var/tmp/diff_new_pack.E7yezV/_new  2013-03-22 09:22:20.0 +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



commit zsh for openSUSE:Factory

2013-01-28 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2013-01-29 06:49: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  2012-12-28 22:52:38.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2013-01-29 
06:49:19.0 +0100
@@ -1,0 +2,8 @@
+Sun Jan 27 20:53:10 UTC 2013 - dmitr...@opensuse.org
+
+- Fix zypper completion [bnc#752112]
+  * zsh-zypper-completion.patch
+- Fix osc completion (SUSE versions)
+  * zsh-osc-suseversion.patch
+
+---

New:

  zsh-osc-suseversion.patch
  zsh-zypper-completion.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.aRkiTk/_old  2013-01-29 06:49:20.0 +0100
+++ /var/tmp/diff_new_pack.aRkiTk/_new  2013-01-29 06:49:20.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zsh
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,6 +36,8 @@
 Source16:   dotzshrc.rh
 Source17:   zshprompt.pl
 %endif
+Patch1: zsh-zypper-completion.patch
+Patch2: zsh-osc-suseversion.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 Requires(pre):  %{install_info_prereq}
@@ -91,6 +93,8 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch1 -p1
+%patch2 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ zsh-osc-suseversion.patch ++
Index: zsh/Completion/openSUSE/Command/_osc
===
--- zsh.orig/Completion/openSUSE/Command/_osc
+++ zsh/Completion/openSUSE/Command/_osc
@@ -16,8 +16,8 @@
 # version 0.2
 #
 
-OSC_BUILD_TARGETS=openSUSE_11.2 openSUSE_11.3 openSUSE_11.4 openSUSE_12.1 
openSUSE_Tumbleweed openSUSE_Factory SLE_11_SP1
-OSC_PROJECTS=openSUSE:Factory openSUSE:Tumbleweed openSUSE:12.1 openSUSE:11.4 
openSUSE:11.2 openSUSE:11.3
+OSC_BUILD_TARGETS=openSUSE_12.1 openSUSE_12.2 openSUSE_12.3 
openSUSE_Tumbleweed openSUSE_Factory SLE_11_SP2
+OSC_PROJECTS=openSUSE:Factory openSUSE:Tumbleweed openSUSE:12.3 openSUSE:12.2 
openSUSE:12.1
 
 # user defined variables $OSC_BUILD_TARGETS_EXTRA and
 # $OSC_PROJECTS_EXTRA can add to the project/build target list
++ zsh-zypper-completion.patch ++
Index: zsh/Completion/openSUSE/Command/_zypper
===
--- zsh.orig/Completion/openSUSE/Command/_zypper
+++ zsh/Completion/openSUSE/Command/_zypper
@@ -28,11 +28,10 @@ _zypper() {
local hline
local -a cmdlist
local tag=0
-   _call_program help-commands zypper help | while read -A hline; do
+   _call_program help-commands LANG=C zypper help | sed -e 
':a;N;$!ba;s/\n\t\t\t\t/ /g' | while read -A hline; do
# start parsing with Global Options:
[[ $hline =~ ^Global Options: ]]  tag=1
[[ $tag = 0 ]]  continue
-   [[ $hline[1] =~ ^\t\t\t\t ]]  continue
# all commands have to start with lower case letters
[[ $hline[1] =~ ^[A-Z] ]]  continue
(( ${#hline}  2 ))  continue
@@ -51,7 +50,7 @@ _zypper_cmd_do() {
 local hline
 local -a cmdlist
 local tag=0
-_call_program help-commands zypper help $cmd | while read -A hline; do
+_call_program help-commands LANG=C zypper help $cmd | while read -A hline; 
do
# start parsing from Options:
[[ $hline =~ ^Command options: ]]  tag=1
[[ $tag = 0 ]]  continue
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit zsh for openSUSE:Factory

2012-12-28 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2012-12-28 22:52:35

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  2012-11-16 14:53:32.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2012-12-28 
22:52:38.0 +0100
@@ -1,0 +2,9 @@
+Mon Dec 24 15:53:42 UTC 2012 - idon...@suse.com
+
+- Update to version 5.0.2
+  * Numeric constants in mathematical contexts can contain
+underscores.
+  * functions -T turns on tracing for specific functions.
+- See the included NEWS file for other changes.
+
+---

Old:

  zsh-5.0.0.tar.bz2

New:

  zsh-5.0.2.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.Kgt2SL/_old  2012-12-28 22:52:39.0 +0100
+++ /var/tmp/diff_new_pack.Kgt2SL/_new  2012-12-28 22:52:39.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   zsh
-Version:5.0.0
+Version:5.0.2
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT

++ zsh-5.0.0.tar.bz2 - zsh-5.0.2.tar.bz2 ++
 41250 lines of diff (skipped)

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



commit zsh for openSUSE:Factory

2012-11-16 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2012-11-16 14:53:30

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  2012-10-27 07:58:15.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2012-11-16 
14:53:32.0 +0100
@@ -1,0 +2,5 @@
+Fri Nov 16 03:49:21 UTC 2012 - crrodrig...@opensuse.org
+
+- Test suite runs flaky in qemu-arm, disable it for now. 
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.v9WhWS/_old  2012-11-16 14:53:34.0 +0100
+++ /var/tmp/diff_new_pack.v9WhWS/_new  2012-11-16 14:53:34.0 +0100
@@ -183,6 +183,7 @@
 %endif
 
 %check
+%if ! 0%{?qemu_user_space_build}
 %if 0%{?suse_version}
 make check
 %else
@@ -197,7 +198,7 @@
 %endif
   ZTST_verbose=0 make test
 %endif
-
+%endif
 %preun
 %if 0%{?suse_version}
   :

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



commit zsh for openSUSE:Factory

2012-10-26 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2012-10-27 07:58:13

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  2012-08-12 15:30:05.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2012-10-27 
07:58:15.0 +0200
@@ -1,0 +2,5 @@
+Fri Oct 26 14:58:46 UTC 2012 - co...@suse.com
+
+- buildrequire groff needed to build helpfiles
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.R9Fv4z/_old  2012-10-27 07:58:16.0 +0200
+++ /var/tmp/diff_new_pack.R9Fv4z/_new  2012-10-27 07:58:16.0 +0200
@@ -44,6 +44,7 @@
 BuildRequires:  yodl
 %endif
 %if 0%{?suse_version} = 1210
+BuildRequires:  groff
 BuildRequires:  makeinfo
 BuildRequires:  texinfo
 %endif

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



commit zsh for openSUSE:Factory

2012-08-12 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2012-08-12 15:30:03

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  2012-07-23 10:49:18.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2012-08-12 
15:30:05.0 +0200
@@ -1,0 +2,6 @@
+Thu Aug  9 21:11:47 UTC 2012 - idon...@suse.com
+
+- Version update to 5.0.0
+  * No real changes since 4.3.17
+
+---

Old:

  zsh-4.3.17.tar.bz2

New:

  zsh-5.0.0.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.bwe98n/_old  2012-08-12 15:30:07.0 +0200
+++ /var/tmp/diff_new_pack.bwe98n/_new  2012-08-12 15:30:07.0 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   zsh
-Version:4.3.17
+Version:5.0.0
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT
 Group:  System/Shells
 Url:http://www.zsh.org
-Source0:ftp://ftp.zsh.org/pub/zsh-%{version}.tar.bz2
+Source0:
http://sourceforge.net/projects/zsh/files/zsh/%{version}/zsh-%{version}.tar.bz2
 Source1:zshrc
 Source2:zshenv
 Source3:zprofile

++ zsh-4.3.17.tar.bz2 - zsh-5.0.0.tar.bz2 ++
 10942 lines of diff (skipped)

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



commit zsh for openSUSE:Factory

2012-07-23 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2012-07-23 10:49:16

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  2012-07-20 10:26:01.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2012-07-23 
10:49:18.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 22 13:20:50 UTC 2012 - co...@suse.com
+
+- we need tex2html too, which is provided by texinfo
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.eua1m3/_old  2012-07-23 10:49:19.0 +0200
+++ /var/tmp/diff_new_pack.eua1m3/_new  2012-07-23 10:49:19.0 +0200
@@ -45,6 +45,7 @@
 %endif
 %if 0%{?suse_version} = 1210
 BuildRequires:  makeinfo
+BuildRequires:  texinfo
 %endif
 %else
 Requires(pre):  /sbin/install-info

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



commit zsh for openSUSE:Factory

2012-07-20 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2012-07-20 10:26:00

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  2012-02-27 18:39:11.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2012-07-20 
10:26:01.0 +0200
@@ -1,0 +2,5 @@
+Thu Jul 19 07:58:15 UTC 2012 - co...@suse.com
+
+- buildrequire makeinfo to fix build
+
+---



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.DISwO4/_old  2012-07-20 10:26:03.0 +0200
+++ /var/tmp/diff_new_pack.DISwO4/_new  2012-07-20 10:26:03.0 +0200
@@ -43,6 +43,9 @@
 BuildRequires:  fdupes
 BuildRequires:  yodl
 %endif
+%if 0%{?suse_version} = 1210
+BuildRequires:  makeinfo
+%endif
 %else
 Requires(pre):  /sbin/install-info
 Requires(pre):  fileutils
@@ -109,11 +112,7 @@
 --enable-cap \
 --enable-multibyte \
 --enable-pcre \
-%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)
 

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



commit zsh for openSUSE:Factory

2012-02-27 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2012-02-27 18:39:10

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  2012-02-08 15:44:19.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2012-02-27 
18:39:11.0 +0100
@@ -1,0 +2,9 @@
+Mon Feb 27 09:11:27 UTC 2012 - idon...@suse.com
+
+- Update to version 4.3.17
+  * Contains fixes for possible speed regression introduced 
+in 4.3.15 (new option HASH_EXECUTABLES_ONLY)
+  * Improvements to (bash) completion and shell emulation mode 
+- Drop all the patches, all upstream
+
+---

Old:

  osc.patch
  zsh-4.3.12-fix-c02cond-test.patch
  zsh-4.3.15.tar.bz2
  zsh-enable-openSUSE-completion-functions.patch

New:

  zsh-4.3.17.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.sy8nct/_old  2012-02-27 18:39:12.0 +0100
+++ /var/tmp/diff_new_pack.sy8nct/_new  2012-02-27 18:39:12.0 +0100
@@ -16,9 +16,8 @@
 #
 
 
-
 Name:   zsh
-Version:4.3.15
+Version:4.3.17
 Release:0
 Summary:Shell with comprehensive completion
 License:MIT
@@ -37,9 +36,6 @@
 Source16:   dotzshrc.rh
 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}
@@ -90,9 +86,6 @@
 
 %prep
 %setup -q -n %{name}-%{version}
-%patch1 -p1
-%patch2 -p0
-%patch3 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ zsh-4.3.15.tar.bz2 - zsh-4.3.17.tar.bz2 ++
 3143 lines of diff (skipped)

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



commit zsh for openSUSE:Factory

2012-02-08 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2012-02-08 15:44: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  2012-02-01 10:01:24.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2012-02-08 
15:44:19.0 +0100
@@ -1,0 +2,6 @@
+Tue Feb  7 14:27:18 CET 2012 - hma...@suse.de
+
+- add zsh-enable-openSUSE-completion-functions.patch: Enable
+  installation of openSUSE completion functions which are upstream
+
+---

New:

  zsh-enable-openSUSE-completion-functions.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.7nAnjG/_old  2012-02-08 15:44:20.0 +0100
+++ /var/tmp/diff_new_pack.7nAnjG/_new  2012-02-08 15:44:20.0 +0100
@@ -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 @@
 %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 @@
 %setup -q -n %{name}-%{version}
 %patch1 -p1
 %patch2 -p0
+%patch3 -p1
 
 # Remove executable bit
 chmod 0644 Etc/changelog2html.pl

++ zsh-enable-openSUSE-completion-functions.patch ++
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
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit zsh for openSUSE:Factory

2012-01-03 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2012-01-04 07:33:12

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  2011-12-01 17:39:40.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2012-01-04 
07:33:15.0 +0100
@@ -1,0 +2,25 @@
+Tue Dec 20 09:27:59 UTC 2011 - idon...@suse.com
+
+- Update to zsh 4.3.15
+  * Fix POSIX compatibility
+
+---
+Wed Dec  7 13:28:25 UTC 2011 - idon...@suse.com
+
+- Update to zsh 4.3.14
+  * Drop 74eed99c312de05e19b54ba6b5d37a0aeb4ba713.patch and
+724fd07a67f135c74eba57e9f25fd342201ec722.patch, fixed upstream
+  * Fix for nanosecond timestamp support
+
+---
+Mon Dec  5 09:40:23 UTC 2011 - idoen...@suse.de
+
+- Fix license to be MIT, zsh seems to be using the Modern variant
+  of the license text.
+- Import git commits 74eed99c312de05e19b54ba6b5d37a0aeb4ba713 and
+  724fd07a67f135c74eba57e9f25fd342201ec722
+
+  * metafy() added null termination even if buffer was not modifiable
+  * Fix uninitialised memory after lexer realloc
+
+---

Old:

  zsh-4.3.13.tar.bz2

New:

  zsh-4.3.15.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.ru6PIp/_old  2012-01-04 07:33:16.0 +0100
+++ /var/tmp/diff_new_pack.ru6PIp/_new  2012-01-04 07:33:16.0 +0100
@@ -16,18 +16,13 @@
 #
 
 
-
 Name:   zsh
-Version:4.3.13
-Release:4
-License:BSD
+Version:4.3.15
+Release:0
 Summary:Shell with comprehensive completion
-Url:http://www.zsh.org
-%if 0%{?suse_version}
+License:MIT
 Group:  System/Shells
-%else
-Group:  System Environment/Shells
-%endif
+Url:http://www.zsh.org
 Source0:ftp://ftp.zsh.org/pub/zsh-%{version}.tar.bz2
 Source1:zshrc
 Source2:zshenv
@@ -76,12 +71,7 @@
 %package htmldoc
 
 Summary:Zsh shell manual in html format
-%if 0%{?suse_version}
-Group:  System/Shells
-%else
-Group:  System Environment/Shells
 Obsoletes:  %{name}-html  %{version}
-%endif
 
 %description htmldoc
 The zsh shell is a command interpreter usable as an interactive login

++ zsh-4.3.13.tar.bz2 - zsh-4.3.15.tar.bz2 ++
 3031 lines of diff (skipped)

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



commit zsh for openSUSE:Factory

2011-12-01 Thread h_root
Hello community,

here is the log from the commit of package zsh for openSUSE:Factory checked in 
at 2011-12-01 17:39:37

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  2011-11-25 10:22:04.0 
+0100
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2011-12-01 
17:39:40.0 +0100
@@ -1,0 +2,24 @@
+Wed Nov 30 21:49:26 UTC 2011 - idoen...@suse.de
+
+- Update to zsh 4.3.13
+  * There are no significant feature changes to the shell itself, 
+although many bug fixes and improvements to functions.
+  * See included ChangeLog for details
+- Drop zsh-4.3.12-ksh-emulation-syntax-checking.patch, 
+  fixed upstream
+
+---
+Tue Nov 29 14:19:04 UTC 2011 - idoen...@suse.de
+
+- Cleanup spec file
+- Make /bin/zsh a symlink to /usr/bin/zsh
+
+---
+Mon Nov 28 08:36:51 UTC 2011 - idoen...@suse.de
+
+- Update to 4.3.12-test3
+  * See included ChangeLog for details
+- Drop zsh-findproc.patch and zsh-kill-suspended-job.patch, fixed
+  upstream.
+
+---

Old:

  zsh-4.3.12-ksh-emulation-syntax-checking.patch
  zsh-4.3.12.tar.bz2
  zsh-findproc.patch
  zsh-kill-suspended-job.patch

New:

  zsh-4.3.13.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.rWWd7C/_old  2011-12-01 17:39:42.0 +0100
+++ /var/tmp/diff_new_pack.rWWd7C/_new  2011-12-01 17:39:42.0 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   zsh
-Version:4.3.12
+Version:4.3.13
 Release:4
 License:BSD
 Summary:Shell with comprehensive completion
@@ -28,8 +28,7 @@
 %else
 Group:  System Environment/Shells
 %endif
-#Source0:ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/zsh-4.3.12.tar.bz2
-Source0:%{name}-%{version}.tar.bz2
+Source0:ftp://ftp.zsh.org/pub/zsh-%{version}.tar.bz2
 Source1:zshrc
 Source2:zshenv
 Source3:zprofile
@@ -42,22 +41,18 @@
 Source16:   dotzshrc.rh
 Source17:   zshprompt.pl
 %endif
-Patch1: %{name}-%{version}-disable-c02cond-test.patch
-# PATCH-FIX-UPSTREAM zsh-findproc.patch idoen...@suse.de -- Upstream commit 
21c39600ef2d74c3e7474c4e5b89805656c6fe4e
-Patch2: %{name}-findproc.patch
-# PATCH-FIX-UPSTREAM zsh-kill-suspended-job.patch idoen...@suse.de -- Upstream 
commit 98b29d02ca17068779f4b8fa2d43c9753386478f 
-Patch3: %{name}-kill-suspended-job.patch
-# PATCH-FIX ksh-emulation-syntax-checking.patch -- Import and rework from RHEL 
(zsh-4.2.6)
-Patch4: %{name}-4.3.12-ksh-emulation-syntax-checking.patch
+Patch1: %{name}-4.3.12-disable-c02cond-test.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
-PreReq: %{install_info_prereq}
+Requires(pre):  %{install_info_prereq}
 %if 0%{?suse_version} = 1110
 BuildRequires:  fdupes
 BuildRequires:  yodl
 %endif
 %else
-PreReq: fileutils grep /sbin/install-info
+Requires(pre):  /sbin/install-info
+Requires(pre):  fileutils
+Requires(pre):  grep
 %endif
 
 BuildRequires:  libcap-devel
@@ -65,9 +60,9 @@
 BuildRequires:  pcre-devel
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
 BuildRequires:  libtermcap-devel
+BuildRequires:  tetex
 BuildRequires:  texi2html
 BuildRequires:  texinfo
-BuildRequires:  tetex
 %endif
 
 %description
@@ -99,14 +94,10 @@
 This package contains the Zsh manual in html format.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}
 %patch1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
-##rpmlint
-# spurious-executable-perm
+# Remove executable bit
 chmod 0644 Etc/changelog2html.pl
 
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
@@ -120,7 +111,6 @@
 Util/reporter
 
 %build
-# readd the site-* dir.
 %configure \
 --enable-site-scriptdir=%{_datadir}/%{name}/site/scripts/ \
 --enable-site-fndir=%{_datadir}/%{name}/site/scripts/ \
@@ -176,7 +166,7 @@
 install -m 0644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{buildroot}%{_sysconfdir}
 
 # Create custom completion directory
-mkdir %{buildroot}/etc/zsh_completion.d
+mkdir %{buildroot}%{_sysconfdir}/zsh_completion.d
 %endif
 
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
@@ -192,8 +182,7 @@
 install -m 0644 Help/* %{buildroot}%{_datadir}/%{name}/%{version}/help/
 
 # link zsh binary
-mv %{buildroot}%{_bindir}/zsh %{buildroot}/bin/zsh
-ln -s -f ../../bin/zsh %{buildroot}%{_bindir}/zsh
+ln -sf %{_bindir}/zsh %{buildroot}/bin/zsh
 
 # Remove versioned 

commit zsh for openSUSE:Factory

2011-11-25 Thread h_root
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 idon...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/zsh/zsh.changes  2011-09-23 12:53:44.0 
+0200
+++ /work/SRC/openSUSE:Factory/.zsh.new/zsh.changes 2011-11-25 
10:22:04.0 +0100
@@ -1,0 +2,6 @@
+Thu Nov 24 09:00:37 UTC 2011 - idoen...@suse.de
+
+- 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.0 +0100
+++ /var/tmp/diff_new_pack.nyaOf4/_new  2011-11-25 10:22:06.0 +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.0 +0100
+++ /var/tmp/diff_new_pack.nyaOf4/_new  2011-11-25 10:22:06.0 +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: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit zsh for openSUSE:Factory

2011-08-03 Thread h_root

Hello community,

here is the log from the commit of package zsh for openSUSE:Factory
checked in at Wed Aug 3 10:57:53 CEST 2011.




--- zsh/zsh.changes 2011-06-17 15:42:26.0 +0200
+++ /mounts/work_src_done/STABLE/zsh/zsh.changes2011-08-02 
01:17:51.0 +0200
@@ -1,0 +2,18 @@
+Mon Aug  1 23:17:10 UTC 2011 - crrodrig...@opensuse.org
+
+- Enable pcre module 
+- Build against ncurses6w instead of plain old ncurses5
+
+---
+Wed Jun 29 12:35:50 UTC 2011 - ch...@computersalat.de
+
+- enable build for RHEL and friends (CentOS, Fedora)
+  o merge with 4.2.6 from RHEL
+  o add/rework RHEL patch (BZ-488943-ksh-emulation-syntax-checking)
+  o add several *.rhs files
+  o disable E01options test
+- add subpkg htmldoc
+- fix deps
+  o fdupes = suse_version 1110
+
+---

calling whatdependson for head-i586


New:

  dotzshrc.rh
  zlogin.rhs
  zlogout.rhs
  zprofile.rhs
  zsh-4.3.12-ksh-emulation-syntax-checking.patch
  zshenv.rhs
  zshprompt.pl
  zshrc.rhs



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.P4fyci/_old  2011-08-03 10:52:31.0 +0200
+++ /var/tmp/diff_new_pack.P4fyci/_new  2011-08-03 10:52:31.0 +0200
@@ -19,27 +19,56 @@
 
 Name:   zsh
 Version:4.3.12
-Release:2
+Release:4
 License:BSD
 Summary:Shell with comprehensive completion
 Url:http://www.zsh.org
+%if 0%{?suse_version}
 Group:  System/Shells
+%else
+Group:  System Environment/Shells
+%endif
+#Source0:ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/zsh-4.3.12.tar.bz2
 Source0:%{name}-%{version}.tar.bz2
 Source1:zshrc
 Source2:zshenv
 Source3:zprofile
+%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
+Source11:   zlogin.rhs
+Source12:   zlogout.rhs
+Source13:   zprofile.rhs
+Source14:   zshrc.rhs
+Source15:   zshenv.rhs
+Source16:   dotzshrc.rh
+Source17:   zshprompt.pl
+%endif
 Patch1: %{name}-%{version}-disable-c02cond-test.patch
 # PATCH-FIX-UPSTREAM zsh-findproc.patch idoen...@suse.de -- Upstream commit 
21c39600ef2d74c3e7474c4e5b89805656c6fe4e
 Patch2: %{name}-findproc.patch
 # PATCH-FIX-UPSTREAM zsh-kill-suspended-job.patch idoen...@suse.de -- Upstream 
commit 98b29d02ca17068779f4b8fa2d43c9753386478f 
 Patch3: %{name}-kill-suspended-job.patch
-
+# PATCH-FIX ksh-emulation-syntax-checking.patch -- Import and rework from RHEL 
(zsh-4.2.6)
+Patch4: %{name}-4.3.12-ksh-emulation-syntax-checking.patch
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version}
+PreReq: %{install_info_prereq}
+%if 0%{?suse_version} = 1110
 BuildRequires:  fdupes
+BuildRequires:  yodl
+%endif
+%else
+PreReq: fileutils grep /sbin/install-info
+%endif
+
 BuildRequires:  libcap-devel
 BuildRequires:  ncurses-devel
-BuildRequires:  yodl
-PreReq: %{install_info_prereq}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pcre-devel
+%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
+BuildRequires:  libtermcap-devel
+BuildRequires:  texi2html
+BuildRequires:  texinfo
+BuildRequires:  tetex
+%endif
 
 %description
 Zsh is a UNIX command interpreter (shell) that resembles the Korn shell
@@ -49,11 +78,40 @@
 at home, and extra features drawn from tcsh (another `custom' shell).
 Zsh is well known for its command line completion.
 
+%package htmldoc
+
+Summary:Zsh shell manual in html format
+%if 0%{?suse_version}
+Group:  System/Shells
+%else
+Group:  System Environment/Shells
+Obsoletes:  %{name}-html  %{version}
+%endif
+
+%description htmldoc
+The zsh shell is a command interpreter usable as an interactive login
+shell and as a shell script command processor.  Zsh resembles the ksh
+shell (the Korn shell), but includes many enhancements.  Zsh supports
+command line editing, built-in spelling correction, programmable
+command completion, shell functions (with autoloading), a history
+mechanism, and more.
+
+This package contains the Zsh manual in html format.
+
 %prep
 %setup -q
 %patch1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+
+##rpmlint
+# spurious-executable-perm
+chmod 0644 Etc/changelog2html.pl
+
+%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
+  cp -p %{SOURCE17} .
+%endif
 
 # Fix bindir path in some files
 perl -p -i -e 's|/usr/local/bin|%{_bindir}|' \
@@ -69,15 +127,16 @@
 --enable-maildir-support \
 --with-tcsetpgrp \
 --enable-cap \
---enable-multibyte
-
-make
+--enable-multibyte \
+--enable-pcre \
+--with-term-lib=ncursesw \
+--enable-cflags=%{optflags} %(ncursesw6-config --cflags) \
+--enable-ldflags=%(ncursesw6-config --libs)
 
-# 

commit zsh for openSUSE:Factory

2011-06-20 Thread h_root

Hello community,

here is the log from the commit of package zsh for openSUSE:Factory
checked in at Mon Jun 20 11:00:54 CEST 2011.




--- zsh/zsh.changes 2011-06-01 15:36:23.0 +0200
+++ /mounts/work_src_done/STABLE/zsh/zsh.changes2011-06-17 
15:42:26.0 +0200
@@ -1,0 +2,6 @@
+Fri Jun 17 13:35:56 UTC 2011 - idon...@novell.com
+
+- Add zsh-kill-suspended-job.patch: fix killing suspended jobs 
+- Add zsh-findproc.patch: fix findproc() to find stopped jobs
+
+---

calling whatdependson for head-i586


New:

  zsh-findproc.patch
  zsh-kill-suspended-job.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.kBUxNd/_old  2011-06-20 10:59:03.0 +0200
+++ /var/tmp/diff_new_pack.kBUxNd/_new  2011-06-20 10:59:03.0 +0200
@@ -19,7 +19,7 @@
 
 Name:   zsh
 Version:4.3.12
-Release:1
+Release:2
 License:BSD
 Summary:Shell with comprehensive completion
 Url:http://www.zsh.org
@@ -29,6 +29,11 @@
 Source2:zshenv
 Source3:zprofile
 Patch1: %{name}-%{version}-disable-c02cond-test.patch
+# PATCH-FIX-UPSTREAM zsh-findproc.patch idoen...@suse.de -- Upstream commit 
21c39600ef2d74c3e7474c4e5b89805656c6fe4e
+Patch2: %{name}-findproc.patch
+# PATCH-FIX-UPSTREAM zsh-kill-suspended-job.patch idoen...@suse.de -- Upstream 
commit 98b29d02ca17068779f4b8fa2d43c9753386478f 
+Patch3: %{name}-kill-suspended-job.patch
+
 BuildRequires:  fdupes
 BuildRequires:  libcap-devel
 BuildRequires:  ncurses-devel
@@ -47,6 +52,8 @@
 %prep
 %setup -q
 %patch1
+%patch2 -p1
+%patch3 -p1
 
 # Fix bindir path in some files
 perl -p -i -e 's|/usr/local/bin|%{_bindir}|' \

++ zsh-findproc.patch ++
commit 21c39600ef2d74c3e7474c4e5b89805656c6fe4e
Author: Bart Schaefer ba...@users.sourceforge.net
Date:   Sun Jun 12 15:06:37 2011 +

29472: findproc() needs at least to also return stopped jobs.

diff --git a/Src/jobs.c b/Src/jobs.c
index b3ec000..0ace80b 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -189,7 +189,8 @@ findproc(pid_t pid, Job *jptr, Process *pptr, int aux)
 * the termination of the process which pid we were supposed
 * to return in a different job.
 */
-   if (pn-pid == pid  pn-status == SP_RUNNING) {
+   if (pn-pid == pid  (pn-status == SP_RUNNING ||
+  WIFSTOPPED(pn-status))) {
*pptr = pn;
*jptr = jobtab + i;
return 1;
++ zsh-kill-suspended-job.patch ++
commit 98b29d02ca17068779f4b8fa2d43c9753386478f
Author: Bart Schaefer ba...@users.sourceforge.net
Date:   Wed Jun 15 15:38:14 2011 +

29481: always return a matching job in findproc() but scan the whole list
to prefer running jobs

diff --git a/Src/jobs.c b/Src/jobs.c
index 0ace80b..9c9b12f 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -160,6 +160,8 @@ findproc(pid_t pid, Job *jptr, Process *pptr, int aux)
 Process pn;
 int i;
 
+*jptr = NULL;
+*pptr = NULL;
 for (i = 1; i = maxjob; i++)
 {
/*
@@ -189,16 +191,16 @@ findproc(pid_t pid, Job *jptr, Process *pptr, int aux)
 * the termination of the process which pid we were supposed
 * to return in a different job.
 */
-   if (pn-pid == pid  (pn-status == SP_RUNNING ||
-  WIFSTOPPED(pn-status))) {
+   if (pn-pid == pid) {
*pptr = pn;
*jptr = jobtab + i;
-   return 1;
+   if (pn-status == SP_RUNNING) 
+   return 1;
}
}
 }
 
-return 0;
+return (*pptr  *jptr);
 }
 
 /* Does the given job number have any processes? */
diff --git a/Src/signals.c b/Src/signals.c
index 456a853..a848acd 100644
--- a/Src/signals.c
+++ b/Src/signals.c
@@ -489,7 +489,6 @@ wait_for_processes(void)
 * Find the process and job containing this pid and
 * update it.
 */
-   pn = NULL;
if (findproc(pid, jn, pn, 0)) {
 #if defined(HAVE_WAIT3)  defined(HAVE_GETRUSAGE)
struct timezone dummy_tz;





Remember to have fun...

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



commit zsh for openSUSE:Factory

2011-06-06 Thread h_root

Hello community,

here is the log from the commit of package zsh for openSUSE:Factory
checked in at Mon Jun 6 13:16:13 CEST 2011.




--- zsh/zsh.changes 2011-04-26 17:46:21.0 +0200
+++ /mounts/work_src_done/STABLE/zsh/zsh.changes2011-06-01 
15:36:23.0 +0200
@@ -1,0 +2,6 @@
+Wed Jun  1 13:17:38 UTC 2011 - idon...@novell.com
+
+- Update to zsh 4.3.12 
+- Dropped openSUSE specific completions, all are upstreamed now
+
+---

calling whatdependson for head-i586


Old:

  _SuSEconfig
  _hwinfo
  _osc
  _yast2
  _zypper
  zsh-4.3.11-dev-2.tar.bz2
  zsh-4.3.11-disable-c02cond-test.patch
  zsh-4.3.11-doc_intro_paths.patch
  zsh-4.3.11-doc_makefile.patch
  zsh-4.3.11-fix-a01grammar.patch
  zsh-4.3.11-run-help_pager.patch
  zsh-cleanup.patch

New:

  zsh-4.3.12-disable-c02cond-test.patch
  zsh-4.3.12.tar.bz2



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.MDrdWS/_old  2011-06-06 13:14:40.0 +0200
+++ /var/tmp/diff_new_pack.MDrdWS/_new  2011-06-06 13:14:40.0 +0200
@@ -18,29 +18,17 @@
 
 
 Name:   zsh
-Version:4.3.11_dev_2
+Version:4.3.12
 Release:1
 License:BSD
 Summary:Shell with comprehensive completion
 Url:http://www.zsh.org
 Group:  System/Shells
-Source0:%{name}-4.3.11-dev-2.tar.bz2
+Source0:%{name}-%{version}.tar.bz2
 Source1:zshrc
 Source2:zshenv
-Source3:_yast2
-Source4:_SuSEconfig
-Source5:_hwinfo
-Source7:zprofile
-Source8:_osc
-Source9:_zypper
-Patch0: %{name}-4.3.11-doc_makefile.patch
-Patch1: %{name}-4.3.11-doc_intro_paths.patch
-Patch2: %{name}-4.3.11-run-help_pager.patch
-Patch3: zsh-cleanup.patch
-# PATCH-FIX-UPSTREAM zsh-4.3.11-fix-a01grammar.patch idoen...@suse.de -- Fix 
lines output
-Patch4: zsh-4.3.11-fix-a01grammar.patch
-# PATCH-FIX-OPENSUSE zsh-4.3.11-disable-c02cond-test.patch idoen...@suse.de -- 
Fix problematic test in c02cond test
-Patch5: zsh-4.3.11-disable-c02cond-test.patch
+Source3:zprofile
+Patch1: %{name}-%{version}-disable-c02cond-test.patch
 BuildRequires:  fdupes
 BuildRequires:  libcap-devel
 BuildRequires:  ncurses-devel
@@ -57,22 +45,14 @@
 Zsh is well known for its command line completion.
 
 %prep
-%setup -q -n %{name}-4.3.11-dev-2
-%patch0
+%setup -q
 %patch1
-%patch2
-%patch3
-%patch4 -p1
-%patch5 -p1
+
 # Fix bindir path in some files
 perl -p -i -e 's|/usr/local/bin|%{_bindir}|' \
-Functions/Misc/zcalc Functions/Example/cat \
-Functions/Misc/checkmail Functions/Misc/run-help Misc/globtests \
-Misc/globtests.ksh Test/ztst.zsh Util/reporter Misc/lete2ctl \
-Util/check_exports Util/helpfiles
-# Get rid of /usr/princeton examples
-perl -p -i -e 's|/usr/princeton|%{_bindir}|' \
-Doc/intro.ms
+Doc/intro.ms Misc/globtests.ksh Misc/globtests \
+Misc/lete2ctl Util/check_exports Util/helpfiles \
+Util/reporter
 
 %build
 # readd the site-* dir.
@@ -84,10 +64,11 @@
 --enable-cap \
 --enable-multibyte
 
-make VERSION=%{version}
+make
 
 # make html documentation
-make -C Doc all zsh.info zsh_toc.html VERSION=%{version}
+make -C Doc all zsh.info zsh_toc.html
+
 # make help text files
 mkdir -p Help
 pushd Help/
@@ -96,26 +77,35 @@
sed -e 's/±/{+|-}/' | \
../Util/helpfiles
 popd
-# generate intro.txt
-groff Doc/intro.ms  intro.txt
+
+# generate intro.ps
+groff -Tps -ms Doc/intro.ms  intro.ps
+
 # better name for html documentation
 mkdir Doc/htmldoc/
 mv Doc/*.html Doc/htmldoc
+
 # remove some unwanted files in Etc/
 rm -f Etc/Makefile* Etc/*.yo
 
 %install
-%makeinstall install.info VERSION=%{version}
+%makeinstall install.info
+
 # install SUSE configuration
 install -m 0755 -Dd  %{buildroot}/{etc,bin}
-install -m 0644 %{SOURCE1} %{SOURCE2} %{SOURCE7} %{buildroot}/etc
-install -m 0644 %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE9} 
%{buildroot}%{_datadir}/%{name}/%{version}/functions
+install -m 0644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{buildroot}/etc
+
 # install help files
 install -m 0755 -Dd%{buildroot}%{_datadir}/%{name}/%{version}/help
 install -m 0644 Help/* %{buildroot}%{_datadir}/%{name}/%{version}/help/
+
 # link zsh binary
 mv %{buildroot}%{_bindir}/zsh %{buildroot}/bin/zsh
 ln -s -f ../../bin/zsh %{buildroot}%{_bindir}/zsh
+
+# Remove versioned zsh binary
+rm -f %{buildroot}%{_bindir}/zsh-*
+
 %fdupes %{buildroot}
 
 %check
@@ -132,7 +122,7 @@
 
 %files
 %defattr(-,root,root)
-%doc Etc/* intro.txt Misc/compctl-examples Doc/htmldoc
+%doc Etc/* intro.ps Misc/compctl-examples Doc/htmldoc
 %config(noreplace) %{_sysconfdir}/zshrc
 %config(noreplace) %{_sysconfdir}/zshenv
 %config(noreplace) %{_sysconfdir}/zprofile

++ zsh-4.3.11-disable-c02cond-test.patch - 

commit zsh for openSUSE:Factory

2011-04-29 Thread h_root

Hello community,

here is the log from the commit of package zsh for openSUSE:Factory
checked in at Fri Apr 29 09:15:37 CEST 2011.




--- zsh/zsh.changes 2011-03-15 15:12:06.0 +0100
+++ /mounts/work_src_done/STABLE/zsh/zsh.changes2011-04-26 
17:46:21.0 +0200
@@ -1,0 +2,16 @@
+Tue Apr 26 15:43:10 UTC 2011 - idoen...@novell.com
+
+- Enable make check 
+
+---
+Thu Apr 21 09:19:55 UTC 2011 - idoen...@novell.com
+
+- Disable zsh debug
+- Enable strict aliasing again 
+
+---
+Wed Apr 20 12:07:36 UTC 2011 - idoen...@novell.com
+
+- Update to 4.3.11-dev-2, many crash fixes 
+
+---

calling whatdependson for head-i586


Old:

  _make
  _service
  _service:download_url:zsh-4.3.11-doc.tar.bz2
  _service:download_url:zsh-4.3.11.tar.bz2
  subst-crash.patch

New:

  zsh-4.3.11-dev-2.tar.bz2
  zsh-4.3.11-disable-c02cond-test.patch
  zsh-4.3.11-fix-a01grammar.patch



Other differences:
--
++ zsh.spec ++
--- /var/tmp/diff_new_pack.tnQS6w/_old  2011-04-29 09:11:02.0 +0200
+++ /var/tmp/diff_new_pack.tnQS6w/_new  2011-04-29 09:11:02.0 +0200
@@ -15,40 +15,38 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   zsh
-Version:4.3.11
-Release:2
-License:Other uncritical OpenSource License
-Group:  System/Shells
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ncurses-devel
-BuildRequires:  libcap-devel
-BuildRequires:  yodl
-BuildRequires:  fdupes
-PreReq: %{install_info_prereq}
+Version:4.3.11_dev_2
+Release:1
+License:BSD
+Summary:Shell with comprehensive completion
 Url:http://www.zsh.org
-Source0:%{name}-%{version}.tar.bz2
+Group:  System/Shells
+Source0:%{name}-4.3.11-dev-2.tar.bz2
 Source1:zshrc
 Source2:zshenv
 Source3:_yast2
 Source4:_SuSEconfig
 Source5:_hwinfo
-Source6:_make
 Source7:zprofile
 Source8:_osc
 Source9:_zypper
-# unused atm. we build the docs with yodl on our own.
-Source20:   %{name}-%{version}-doc.tar.bz2
-Patch0: %{name}-%{version}-doc_makefile.patch
-Patch1: %{name}-%{version}-doc_intro_paths.patch
-Patch2: %{name}-%{version}-run-help_pager.patch
+Patch0: %{name}-4.3.11-doc_makefile.patch
+Patch1: %{name}-4.3.11-doc_intro_paths.patch
+Patch2: %{name}-4.3.11-run-help_pager.patch
 Patch3: zsh-cleanup.patch
-Patch4: subst-crash.patch
-Summary:Shell with comprehensive completion
-%define do_profiling 0
+# PATCH-FIX-UPSTREAM zsh-4.3.11-fix-a01grammar.patch idoen...@suse.de -- Fix 
lines output
+Patch4: zsh-4.3.11-fix-a01grammar.patch
+# PATCH-FIX-OPENSUSE zsh-4.3.11-disable-c02cond-test.patch idoen...@suse.de -- 
Fix problematic test in c02cond test
+Patch5: zsh-4.3.11-disable-c02cond-test.patch
+BuildRequires:  fdupes
+BuildRequires:  libcap-devel
+BuildRequires:  ncurses-devel
+BuildRequires:  yodl
+PreReq: %{install_info_prereq}
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Zsh is a UNIX command interpreter (shell) that resembles the Korn shell
@@ -58,17 +56,14 @@
 at home, and extra features drawn from tcsh (another `custom' shell).
 Zsh is well known for its command line completion.
 
-Authors:
-
-Paul Falstad
-
 %prep
-%setup -q
+%setup -q -n %{name}-4.3.11-dev-2
 %patch0
 %patch1
 %patch2
 %patch3
 %patch4 -p1
+%patch5 -p1
 # Fix bindir path in some files
 perl -p -i -e 's|/usr/local/bin|%{_bindir}|' \
 Functions/Misc/zcalc Functions/Example/cat \
@@ -80,32 +75,17 @@
 Doc/intro.ms
 
 %build
-export CC=gcc CFLAGS=%{optflags} -pipe -fno-strict-aliasing
 # readd the site-* dir.
 %configure \
 --enable-site-scriptdir=%{_datadir}/%{name}/site/scripts/ \
 --enable-site-fndir=%{_datadir}/%{name}/site/scripts/ \
 --enable-maildir-support \
 --with-tcsetpgrp \
---enable-zsh-debug \
 --enable-cap \
 --enable-multibyte
-# compiling with profiling data is default.
-%if %do_profiling
-# compile with profiling data writing enabled
-make VERSION=%{version} CFLAGS=$CFLAGS %cflags_profile_generate \
- DLCFLAGS=-fPIC -fno-profile-arcs LDFLAGS=-fprofile-arcs
-# this is needed to create the profiling data files *.gcda
-make check
-make clean
-# compile with profiling data reading enabled and writing disabled
-make VERSION=%{version} CFLAGS=$CFLAGS %cflags_profile_feedback \
- DLCFLAGS=-fPIC -fno-branch-probabilities LDFLAGS=-fprofile-arcs
-make check
-make clean
-%else
+
 make VERSION=%{version}
-%endif
+
 # make html documentation
 make -C