Don't rely on mvn script to locate Maven home in %install too
This commit is contained in:
parent
abfebc45df
commit
6cece8e0fc
@ -253,7 +253,7 @@ rm -f %{name}-%{version}*/bin/{mvn.cmd,mvnDebug.cmd,mvn-script}
|
|||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
maven_home=$(readlink -f $(dirname $(readlink $(which mvn)))/..)
|
maven_home=$(readlink -f $(dirname $(readlink $(which xmvn)))/../../maven)
|
||||||
|
|
||||||
install -d -m 755 %{buildroot}%{_datadir}/%{name}
|
install -d -m 755 %{buildroot}%{_datadir}/%{name}
|
||||||
cp -r %{name}-%{version}*/* %{buildroot}%{_datadir}/%{name}/
|
cp -r %{name}-%{version}*/* %{buildroot}%{_datadir}/%{name}/
|
||||||
|
Loading…
Reference in New Issue
Block a user