Avoid calling xmvn-subst during sclraw bootstrap

This commit is contained in:
Mikolaj Izdebski 2019-09-03 03:59:43 +02:00
parent bfa923c7f1
commit c8ca7241d6

View File

@ -182,7 +182,9 @@ install -d -m 755 %{buildroot}%{confdir}
install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions/
cp -a $M2_HOME/{bin,lib,boot} %{buildroot}%{homedir}/
%if !0%{?sclraw_phase}
xmvn-subst -R %{buildroot} -s %{buildroot}%{homedir}
%endif
install -p -m 644 %{SOURCE2} %{buildroot}%{homedir}/bin/
gzip -9 %{buildroot}%{homedir}/bin/mvn.1