Accepting request 897522 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/897522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=170
This commit is contained in:
Dominique Leuenberger 2021-06-09 19:51:28 +00:00 committed by Git OBS Bridge
commit ae08d1b174
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 28 13:53:55 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Use well defined HOSTTYPE, as well as OS, VENDOR, and MACHTYPE (boo#1186296)
-------------------------------------------------------------------
Wed May 5 14:59:54 UTC 2021 - Dr. Werner Fink <werner@suse.de>

View File

@ -91,7 +91,7 @@ Provides: /bin/bash
Provides: /bin/sh
%global _sysconfdir /etc
%global _incdir %{_includedir}
%global _ldldir /%{_libdir}/bash
%global _ldldir %{_libdir}/bash
%global _minsh 0
%description
@ -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