This commit is contained in:
parent
88294f834b
commit
2fe6b4e3b4
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package xmvn-connector-aether
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package xmvn-connector-gradle
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package xmvn-connector-ivy
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package xmvn-mojo
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package xmvn-parent
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package xmvn-tools
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 22 09:15:52 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Specify maven_home manually since the diversity of alternatives
|
||||
in different distro versions makes it tedious to detect this
|
||||
automatically
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 13 10:07:24 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -55,7 +55,10 @@ remote repositories.
|
||||
%build
|
||||
|
||||
%install
|
||||
maven_home=$(realpath $(dirname $(realpath $(which mvn)))/..)
|
||||
# Please, keep in sync with maven package, since the use
|
||||
# of libalternatives in some distro versions makes it
|
||||
# more tedious to detect automatically
|
||||
maven_home=%{_datadir}/maven
|
||||
|
||||
install -d -m 755 %{buildroot}%{_datadir}/%{name}
|
||||
cp -aL ${maven_home}/* %{buildroot}%{_datadir}/%{name}/
|
||||
|
Loading…
x
Reference in New Issue
Block a user