openSUSE/SUSE's default build environment doesn't set %_buildshell. That means the value of such macro is the original /bin/sh, set by RPM's /usr/lib/rpm/macros file. So we should avoid bashisms, like [[ ... ]], without explicitly setting the %_buildshell macro to /bin/bash.
openSUSE/SUSE's default build environment doesn't set
%_buildshell
. That means the value of such macro is the original/bin/sh
, set by RPM's /usr/lib/rpm/macros file. So we should avoid bashisms, like [[ ... ]], without explicitly setting the%_buildshell
macro to/bin/bash
.