From c8ca7241d627edb0b328e7d65dc61afbd352e62e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 3 Sep 2019 03:59:43 +0200 Subject: [PATCH] Avoid calling xmvn-subst during sclraw bootstrap --- maven.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven.spec b/maven.spec index 5052734..e3a697d 100644 --- a/maven.spec +++ b/maven.spec @@ -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