Accepting request 713457 from Virtualization:containers

OBS-URL: https://build.opensuse.org/request/show/713457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bubblewrap?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2019-07-08 13:04:47 +00:00 committed by Git OBS Bridge
commit 52bdbea876
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 7 14:38:21 UTC 2019 - Antonio Larrosa <alarrosa@suse.com>
- Use /bin/bash instead of /usr/bin/bash in SLE12
-------------------------------------------------------------------
Sat Jun 1 15:08:49 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@ -43,7 +43,12 @@ user namespaces.
%prep
%autosetup -n %{name}-%{version}
sed -i '1d' completions/bash/bwrap
%if 0%{?suse_version} < 1500
sed -i '1s,/usr/bin/env bash,/bin/bash,' demos/bubblewrap-shell.sh
sed -i '1s/env //' demos/userns-block-fd.py
%else
sed -i '1s/env //' demos/bubblewrap-shell.sh demos/userns-block-fd.py
%endif
%build
env NOCONFIGURE=1 ./autogen.sh