Don't use _module_name macro

This commit is contained in:
Mikolaj Izdebski 2021-05-17 17:44:54 +02:00
parent 5d55e0a7c1
commit fb2830b061

View File

@ -198,7 +198,7 @@ install -d -m 755 %{buildroot}%{confdir}
install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions/ install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions/
cp -a $M2_HOME/{bin,lib,boot} %{buildroot}%{homedir}/ cp -a $M2_HOME/{bin,lib,boot} %{buildroot}%{homedir}/
%if "%{_module_name}" != "javapackages-bootstrap" %if %{without bootstrap}
xmvn-subst -s -R %{buildroot} -s %{buildroot}%{homedir} xmvn-subst -s -R %{buildroot} -s %{buildroot}%{homedir}
%endif %endif