SHA256
1
0
forked from pool/zsh

Disable racy tests and enable make check again

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=57
This commit is contained in:
Ismail Dönmez
2011-04-21 12:48:30 +00:00
committed by Git OBS Bridge
parent 7c4e977376
commit be1c3bcccc
3 changed files with 62 additions and 1 deletions

View File

@@ -37,6 +37,10 @@ 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-OPENSUSE zsh-4.3.6-hack-a01grammar-test-select-off.patch idoenmez@suse.de -- Fix racy test
Patch4: zsh-4.3.6-hack-a01grammar-test-select-off.patch
# PATCH-FIX-OPENSUSE zsh-test-C02-dev_fd-mock.patch idoenmez@suse.de -- Don't test /dev/fd/0
Patch5: zsh-test-C02-dev_fd-mock.patch
BuildRequires: fdupes
BuildRequires: libcap-devel
BuildRequires: ncurses-devel
@@ -58,6 +62,8 @@ Zsh is well known for its command line completion.
%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 \
@@ -113,7 +119,7 @@ ln -s -f ../../bin/zsh %{buildroot}%{_bindir}/zsh
%fdupes %{buildroot}
%check
#make check
make check
%clean
rm -rf %{buildroot}