From b8fa616792cd08179525a64018fa8015b152ad04 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 16 Apr 2021 19:00:57 +0200 Subject: [PATCH] Don't try to bundle maven-metadata --- xmvn.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmvn.spec b/xmvn.spec index e76aad0..0a25c6d 100644 --- a/xmvn.spec +++ b/xmvn.spec @@ -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