SHA256
3
0
forked from pool/bash

Temporary change to build bash 5.0 static linked for SLES-15

OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=293
This commit is contained in:
Dr. Werner Fink 2019-05-16 07:41:25 +00:00 committed by Git OBS Bridge
parent f312225f7d
commit 2b2eee6e8a

View File

@ -84,6 +84,11 @@ BuildRequires: patchutils
BuildRequires: pkg-config BuildRequires: pkg-config
# This has to be always the same version as included in the bash its self # This has to be always the same version as included in the bash its self
BuildRequires: readline-devel == 8.0 BuildRequires: readline-devel == 8.0
%if 0%{?sle_version} > 0
%if 0%{?suse_version} == 1500
BuildRequires: readline-devel-static == 8.0
%endif
%endif
BuildRequires: screen BuildRequires: screen
BuildRequires: sed BuildRequires: sed
BuildRequires: update-alternatives BuildRequires: update-alternatives
@ -347,6 +352,11 @@ test ${rl1[2]} = ${rl2[2]} || exit 1
# #
READLINE=" READLINE="
--with-installed-readline --with-installed-readline
%if 0%{?sle_version} > 0
%if 0%{?suse_version} == 1500
--enable-static-link
%endif
%endif
" "
bash support/mkconffiles -v bash support/mkconffiles -v
%if %_minsh %if %_minsh