%mvn_install macro starts with a new line, which makes it more difficult to use in SCL. If it did not start with NL then it would be possible to run it this way:
%{?scl:scl enable %{scl} --} %mvn_install
which IMHO is nicer than current way:
%{?scl:scl enable %{scl} - <<"EOF"}
set -e -x
%mvn_install
%{?scl:EOF}
All other macros (except for legacy %add_maven_depmap and %jpackage_script) can already be used this way.
%mvn_install macro starts with a new line, which makes it more difficult to use in SCL. If it did not start with NL then it would be possible to run it this way:
which IMHO is nicer than current way:
All other macros (except for legacy %add_maven_depmap and %jpackage_script) can already be used this way.