Add patches bash52-001 and bash52-002

OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=357
This commit is contained in:
2022-10-06 12:13:37 +00:00
committed by Git OBS Bridge
parent 6e8cf7b7b7
commit df0616707c
3 changed files with 25 additions and 5 deletions

View File

@@ -21,6 +21,8 @@
%else
%bcond_without alternatives
%endif
# Unicode tests do alloc to much memory
%bcond_with altarray
%define bextend %{nil}
%define bversion 5.2
@@ -87,6 +89,8 @@ Patch50: quotes-man2html.patch
BuildRequires: autoconf
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: glibc-locale
BuildRequires: glibc-locale-base
BuildRequires: makeinfo
BuildRequires: patchutils
BuildRequires: pkgconfig
@@ -442,7 +446,11 @@ test ${rl1[2]} = ${rl2[2]} || exit 1
--enable-help-builtin \
--enable-separate-helpfiles \
--enable-array-variables \
%if %{with altarray}
--enable-alt-array-implementation \
%else
--disable-alt-array-implementation \
%endif
--enable-brace-expansion \
--enable-command-timing \
--enable-disabled-builtins \
@@ -465,7 +473,7 @@ test ${rl1[2]} = ${rl2[2]} || exit 1
tail -q -s 0.5 -f $SCREENLOG & pid=$!
env -i HOME=$PWD TERM=$TERM LD_LIBRARY_PATH=$LD_RUN_PATH TMPDIR=$TMPDIR \
SCREENRC=$SCREENRC SCREENDIR=$SCREENDIR \
screen -D -m %make_build TESTSCRIPT=%{SOURCE4} check
screen -D -m %make_build -j1 TESTSCRIPT=%{SOURCE4} check
kill -TERM $pid
%if 0%{?do_profiling}
rm -f jobs.gcda
@@ -478,7 +486,7 @@ test ${rl1[2]} = ${rl2[2]} || exit 1
grep -F '$'\' doc/bash.html %{nil:test for boo#1203091}
%check
%make_build check
%make_build -j1 check
%install
%make_install