From 2b2eee6e8a9e41f5ee26411edf0feae574d790e1816572feabadeabbf54a578c Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 16 May 2019 07:41:25 +0000 Subject: [PATCH] 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 --- bash.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bash.spec b/bash.spec index 51b6e96..46ef654 100644 --- a/bash.spec +++ b/bash.spec @@ -84,6 +84,11 @@ BuildRequires: patchutils BuildRequires: pkg-config # This has to be always the same version as included in the bash its self 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: sed BuildRequires: update-alternatives @@ -347,6 +352,11 @@ test ${rl1[2]} = ${rl2[2]} || exit 1 # READLINE=" --with-installed-readline +%if 0%{?sle_version} > 0 +%if 0%{?suse_version} == 1500 + --enable-static-link +%endif +%endif " bash support/mkconffiles -v %if %_minsh