Accepting request 795456 from home:kukuk:branches:Base:System

- Fix usage of update-alternatives

OBS-URL: https://build.opensuse.org/request/show/795456
OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=311
This commit is contained in:
Dr. Werner Fink 2020-04-29 11:13:33 +00:00 committed by Git OBS Bridge
parent 1b25d05121
commit d254773e57
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 19 08:03:03 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
- Fix usage of update-alternatives
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 3 08:28:08 UTC 2020 - Dr. Werner Fink <werner@suse.de> Fri Apr 3 08:28:08 UTC 2020 - Dr. Werner Fink <werner@suse.de>

View File

@ -455,11 +455,10 @@ test ${rl1[2]} = ${rl2[2]} || exit 1
# remains here :( # remains here :(
# The same had happen for the system POSIX shell /bin/sh # The same had happen for the system POSIX shell /bin/sh
# #
ln -sf %{_bindir}/bash %{buildroot}%{_sysconfdir}/alternatives/sh
ln -sf %{_bindir}/bash %{buildroot}/bin/bash ln -sf %{_bindir}/bash %{buildroot}/bin/bash
ln -sf %{_bindir}/sh %{buildroot}/bin/sh ln -sf %{_bindir}/sh %{buildroot}/bin/sh
ln -sf bash %{buildroot}%{_bindir}/rbash ln -sf bash %{buildroot}%{_bindir}/rbash
ln -sf bash %{buildroot}%{_bindir}/sh ln -sf %{_sysconfdir}/alternatives/sh %{buildroot}%{_bindir}/sh
install -m 644 COMPAT NEWS %{buildroot}%{_docdir}/%{name} install -m 644 COMPAT NEWS %{buildroot}%{_docdir}/%{name}
install -m 644 COPYING %{buildroot}%{_docdir}/%{name} install -m 644 COPYING %{buildroot}%{_docdir}/%{name}
install -m 644 doc/FAQ %{buildroot}%{_docdir}/%{name} install -m 644 doc/FAQ %{buildroot}%{_docdir}/%{name}
@ -530,7 +529,7 @@ ldd -u -r %{buildroot}/bin/bash || true
%{_bindir}/bash %{_bindir}/bash
%{_bindir}/bashbug %{_bindir}/bashbug
%{_bindir}/rbash %{_bindir}/rbash
%verify(not link mtime) %{_bindir}/sh %{_bindir}/sh
%dir %{_datadir}/bash %dir %{_datadir}/bash
%dir %{_datadir}/bash/helpfiles %dir %{_datadir}/bash/helpfiles
%{_datadir}/bash/helpfiles/* %{_datadir}/bash/helpfiles/*