Don't install module config in non-modular builds
This commit is contained in:
parent
08a8404a3e
commit
aeea1b2181
@ -156,7 +156,9 @@ sed -i 's|mvn_build.py|& --xmvn-javadoc|' $(find %{buildroot} -name 'macros*.fja
|
||||
sed -e 's/.[17]$/&*/' -i files-*
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/xmvn/config.d/
|
||||
%if 0%{?_module_build}
|
||||
sed s/@{mns}/maven-3.6/g %{SOURCE1} >%{buildroot}%{_datadir}/xmvn/config.d/module-maven-3.6.xml
|
||||
%endif
|
||||
|
||||
rm -rf %{buildroot}%{_bindir}/gradle-local
|
||||
rm -rf %{buildroot}%{_datadir}/gradle-local
|
||||
|
Loading…
Reference in New Issue
Block a user