support also older bison versions

OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=376
This commit is contained in:
2023-11-15 09:09:46 +00:00
committed by Git OBS Bridge
parent f4a5a50cce
commit b6fcb37fbd
3 changed files with 22 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ Patch49: bash-4.3-pathtemp.patch
Patch50: quotes-man2html.patch
BuildRequires: autoconf
# latest bash uses with patch 18 the tag YYEOF
BuildRequires: bison >= 3.8.1
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: glibc-locale
BuildRequires: glibc-locale-base
@@ -281,7 +281,7 @@ set -x
%endif
%patch -P49 -b .pthtmp
%patch -P50 -b .qd
%patch -P0
%patch -P0 -b .p0
# This has to be always the same version as included in the bash its self
rl1=($(sed -rn '/RL_READLINE_VERSION/p' lib/readline/readline.h))
@@ -506,6 +506,7 @@ echo exit 0 > tests/read7.sub
grep -F '$'\' doc/bash.html %{nil:test for boo#1203091}
%check
rm -vf tests/*.p0
%make_build -j1 check
%install