On Thu, Mar 14, 2019 at 08:41:24AM +0100, Dominique Leuenberger / DimStar wrote:
On Wed, 2019-03-13 at 18:43 +0100, Michal Suchánek wrote:
You can specify it via the %__spec_build_cmd macro. For instance, you could
add a
%define __spec_build_cmd /bin/bash -e
Yes, that's helpful.
If we get these alternatives I will add it to the compatibility cruft block together with the %license handling.
And I'm sure the review team will decline them if there is no proper reason to do this - if you don't have at least *some* complexity in the build section.
So now I have recieved this patch for kernel: commit aaf726d5cc067139fd2ade9d4fc1ab1c3e4a268d (origin/users/dmueller/packaging/for-next) Author: Dirk Müller <dmueller@suse.com> Date: Wed Mar 9 21:45:15 2022 +0100 - rpm/*.spec.in.in: Avoid bashism in subshells (bsc#1195391) Maybe it's time for %define __spec_build_cmd /bin/bash -e Maybe that is not sufficient because there is also shell used for %(). Thanks Michal