Accepting request 1010475 from Base:System
- Don't strip binaries - Work around a signal mask issue with qemu linux-user emulation (forwarded request 1010321 from Andreas_Schwab) OBS-URL: https://build.opensuse.org/request/show/1010475 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=181
This commit is contained in:
commit
483f72b908
11
bash.changes
11
bash.changes
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 12 17:37:47 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Don't strip binaries
|
||||||
|
- Work around a signal mask issue with qemu linux-user emulation
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 12 11:30:01 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Remove backup of patched tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 6 10:43:59 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
Thu Oct 6 10:43:59 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -276,13 +276,19 @@ set -x
|
|||||||
%endif
|
%endif
|
||||||
%patch49 -b .pthtmp
|
%patch49 -b .pthtmp
|
||||||
%patch50 -b .qd
|
%patch50 -b .qd
|
||||||
%patch0 -b .0
|
%patch0
|
||||||
|
|
||||||
# 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
|
||||||
rl1=($(sed -rn '/RL_READLINE_VERSION/p' lib/readline/readline.h))
|
rl1=($(sed -rn '/RL_READLINE_VERSION/p' lib/readline/readline.h))
|
||||||
rl2=($(sed -rn '/RL_READLINE_VERSION/p' %{_includedir}/readline/readline.h))
|
rl2=($(sed -rn '/RL_READLINE_VERSION/p' %{_includedir}/readline/readline.h))
|
||||||
test ${rl1[2]} = ${rl2[2]} || exit 1
|
test ${rl1[2]} = ${rl2[2]} || exit 1
|
||||||
|
|
||||||
|
%if 0%{?qemu_user_space_build}
|
||||||
|
# Something in qemu clobbers the signal mask to block SIGALRM during the
|
||||||
|
# execution of this test, causing it to hang. Skip it.
|
||||||
|
echo exit 0 > tests/read7.sub
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
LANG=POSIX
|
LANG=POSIX
|
||||||
LC_ALL=$LANG
|
LC_ALL=$LANG
|
||||||
@ -548,7 +554,6 @@ EOF
|
|||||||
%find_lang bash
|
%find_lang bash
|
||||||
%fdupes -s %{buildroot}%{_datadir}/bash/helpfiles
|
%fdupes -s %{buildroot}%{_datadir}/bash/helpfiles
|
||||||
sed -ri '1{ s@/bin/sh@/bin/bash@ }' %{buildroot}%{_bindir}/bashbug
|
sed -ri '1{ s@/bin/sh@/bin/bash@ }' %{buildroot}%{_bindir}/bashbug
|
||||||
strip --strip-unneeded %{buildroot}%{_bindir}/bash
|
|
||||||
|
|
||||||
%if %{with alternatives}
|
%if %{with alternatives}
|
||||||
%post -p %{_bindir}/bash
|
%post -p %{_bindir}/bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user