diff --git a/zsh-4.3.11-fix-a01grammar.patch b/zsh-4.3.11-fix-a01grammar.patch new file mode 100644 index 0000000..a6fe009 --- /dev/null +++ b/zsh-4.3.11-fix-a01grammar.patch @@ -0,0 +1,11 @@ +--- zsh-4.3.11-dev-2/Test/A01grammar.ztst 2011-02-21 12:30:57.000000000 +0100 ++++ zsh-4.3.11-dev-2/Test/A01grammar.ztst 2011-04-21 19:37:26.358699521 +0200 +@@ -266,7 +266,7 @@ + + ## Select now reads from stdin if the shell is not interactive. + ## Its own output goes to stderr. +- (COLUMNS=80 ++ (COLUMNS=80 LINES=3 + PS3="input> " + select name in one two three; do + print $name diff --git a/zsh.spec b/zsh.spec index 27f0131..c456a03 100644 --- a/zsh.spec +++ b/zsh.spec @@ -38,7 +38,8 @@ Patch1: %{name}-4.3.11-doc_intro_paths.patch Patch2: %{name}-4.3.11-run-help_pager.patch Patch3: zsh-cleanup.patch # PATCH-FIX-OPENSUSE zsh-4.3.6-hack-a01grammar-test-select-off.patch idoenmez@suse.de -- Disable racy test -Patch4: zsh-4.3.6-hack-a01grammar-test-select-off.patch +#Patch4: zsh-4.3.6-hack-a01grammar-test-select-off.patch +Patch4: zsh-4.3.11-fix-a01grammar.patch BuildRequires: fdupes BuildRequires: libcap-devel BuildRequires: ncurses-devel @@ -116,7 +117,7 @@ ln -s -f ../../bin/zsh %{buildroot}%{_bindir}/zsh %fdupes %{buildroot} %check -#make check +make check %clean rm -rf %{buildroot}