From cb3084af297ee794f6f6d1f94b69ab6c3cce4f68 Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Wed, 25 Sep 2019 16:24:46 +0200 Subject: [PATCH] Bundle jars --- xmvn.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xmvn.spec b/xmvn.spec index 4018f9c..deaff5d 100644 --- a/xmvn.spec +++ b/xmvn.spec @@ -257,11 +257,12 @@ done %jpackage_script org.fedoraproject.xmvn.tools.subst.SubstCli "" "" xmvn/xmvn-subst:xmvn/xmvn-api:xmvn/xmvn-core:beust-jcommander xmvn-subst # copy over maven lib directory -cp -r ${maven_home}/lib/* %{buildroot}%{_datadir}/%{name}/lib/ +rm -rf %{buildroot}%{_datadir}/%{name}/lib/* +cp -Lr ${maven_home}/lib/* %{buildroot}%{_datadir}/%{name}/lib/ # possibly recreate symlinks that can be automated with xmvn-subst %if !0%{?sclraw_phase} -%{name}-subst -s -R %{buildroot} %{buildroot}%{_datadir}/%{name}/ +# %{name}-subst -s -R %{buildroot} %{buildroot}%{_datadir}/%{name}/ %endif # /usr/bin/xmvn