From 2453291d79e3601a1e852005cc59ce43cf34c6b4 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 28 May 2021 13:56:42 +0000 Subject: [PATCH] HOSTTYPE OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=329 --- bash.changes | 5 +++++ bash.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bash.changes b/bash.changes index 774904f8..1aafa0b9 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 28 13:53:55 UTC 2021 - Dr. Werner Fink + +- Use well defined HOSTTYPE, as well as OS, VENDOR, and MACHTYPE (boo#1186296) + ------------------------------------------------------------------- Wed May 5 14:59:54 UTC 2021 - Dr. Werner Fink diff --git a/bash.spec b/bash.spec index 562eb2b3..d15dc7b1 100644 --- a/bash.spec +++ b/bash.spec @@ -430,7 +430,8 @@ test ${rl1[2]} = ${rl2[2]} || exit 1 %if 0%{?do_profiling} profilecflags=CFLAGS="$CFLAGS %cflags_profile_generate" %endif - make "$profilecflags" \ + makeopts="Machine=%{_target_cpu} OS=linux VENDOR=suse MACHTYPE=%{_target_cpu}-suse-linux" + make $makeopts "$profilecflags" \ all printenv recho zecho xcase TMPDIR=$(mktemp -d /tmp/bash.XXXXXXXXXX) || exit 1 > $SCREENLOG @@ -444,9 +445,9 @@ test ${rl1[2]} = ${rl2[2]} || exit 1 profilecflags=CFLAGS="$CFLAGS %cflags_profile_feedback -fprofile-correction" clean=clean %endif - make "$profilecflags" $clean all - make -C examples/loadables/ - make documentation + make $makeopts "$profilecflags" $clean all + make $makeopts -C examples/loadables/ + make $makeopts documentation %install %make_install