Don't try to bundle maven-metadata

This commit is contained in:
Mikolaj Izdebski 2021-04-16 19:00:57 +02:00
parent 90074242d1
commit b8fa616792

View File

@ -285,7 +285,7 @@ cp -P ${maven_home}/conf/settings.xml %{buildroot}%{_datadir}/%{name}/conf/
cp -P ${maven_home}/bin/m2.conf %{buildroot}%{_datadir}/%{name}/bin/
# Make sure javapackages config is not bundled
rm -rf %{buildroot}%{_datadir}/%{name}/{configuration.xml,config.d/,conf/toolchains.xml}
rm -rf %{buildroot}%{_datadir}/%{name}/{configuration.xml,config.d/,conf/toolchains.xml,maven-metadata/}
%files
%{_bindir}/mvn-local