diff --git a/bubblewrap.changes b/bubblewrap.changes index 6fcb712..7f2161b 100644 --- a/bubblewrap.changes +++ b/bubblewrap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 7 14:38:21 UTC 2019 - Antonio Larrosa + +- Use /bin/bash instead of /usr/bin/bash in SLE12 + ------------------------------------------------------------------- Sat Jun 1 15:08:49 UTC 2019 - Sebastian Wagner diff --git a/bubblewrap.spec b/bubblewrap.spec index 18e496c..519061f 100644 --- a/bubblewrap.spec +++ b/bubblewrap.spec @@ -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