Bundle jars
This commit is contained in:
parent
05f2d8cf32
commit
cb3084af29
@ -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
|
%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
|
# 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
|
# possibly recreate symlinks that can be automated with xmvn-subst
|
||||||
%if !0%{?sclraw_phase}
|
%if !0%{?sclraw_phase}
|
||||||
%{name}-subst -s -R %{buildroot} %{buildroot}%{_datadir}/%{name}/
|
# %{name}-subst -s -R %{buildroot} %{buildroot}%{_datadir}/%{name}/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# /usr/bin/xmvn
|
# /usr/bin/xmvn
|
||||||
|
Loading…
Reference in New Issue
Block a user