Sync from SUSE:SLFO:Main bash revision 7244ef98cc3a093d64093f0c302fbc95

This commit is contained in:
2025-03-20 14:34:32 +01:00
parent 4b0f1e2924
commit 90d847183d
2 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Mar 10 09:38:26 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Skip PGO with %want_reproducible_builds (boo#1040589)
-------------------------------------------------------------------
Mon Feb 24 18:21:33 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Explicitly specify that the build recipe needs bash
-------------------------------------------------------------------
Fri Jan 24 12:09:40 UTC 2025 - Dr. Werner Fink <werner@suse.de>

View File

@@ -16,6 +16,7 @@
#
%define _buildshell /bin/bash
%if 0%{?suse_version} > 1500
%bcond_with alternatives
%else
@@ -486,7 +487,7 @@ echo exit 0 > tests/read7.sub
$READLINE
sed -rn '/Configuration feature settings controllable by autoconf/,/End of configuration settings controllable by autoconf/p' < config.h
profilecflags=CFLAGS="$CFLAGS"
%if 0%{?do_profiling}
%if 0%{?do_profiling} && !0%{?want_reproducible_builds}
profilecflags=CFLAGS="$CFLAGS %{cflags_profile_generate}"
%endif
ulimit -Hv unlimited
@@ -501,9 +502,8 @@ echo exit 0 > tests/read7.sub
SCREENRC=$SCREENRC SCREENDIR=$SCREENDIR \
screen -D -m %make_build -j1 TESTSCRIPT=%{SOURCE4} check
kill -TERM $pid
%if 0%{?do_profiling}
rm -f jobs.gcda
profilecflags=CFLAGS="$CFLAGS %{cflags_profile_feedback} -fprofile-correction"
%if 0%{?do_profiling} && !0%{?want_reproducible_builds}
profilecflags=CFLAGS="$CFLAGS %{cflags_profile_feedback}"
%make_build $makeopts "$profilecflags" clean
%endif
%make_build $makeopts "$profilecflags" all