With RPM 4.16, installing anything to $RPM_BUILD_ROOT during the %build phase
(as we did in golang.sh prep) results in failures, as RPM 4.16
has an imprlcit
rm -rf $RPM_BUILD_ROOT
as part of %install setup.
So all directories we created in prep were removed by rpm again just after.
With RPM 4.16, installing anything to $RPM_BUILD_ROOT during the %build phase (as we did in golang.sh prep) results in failures, as RPM 4.16 has an imprlcit rm -rf $RPM_BUILD_ROOT as part of %install setup.
So all directories we created in prep were removed by rpm again just after.