Fridrich Strba 2021-10-22 09:16:47 +00:00 committed by Git OBS Bridge
parent 88294f834b
commit 2fe6b4e3b4
8 changed files with 17 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#
# spec file for package xmvn-connector-aether
# spec file
#
# Copyright (c) 2021 SUSE LLC
#

View File

@ -1,5 +1,5 @@
#
# spec file for package xmvn-connector-gradle
# spec file
#
# Copyright (c) 2021 SUSE LLC
#

View File

@ -1,5 +1,5 @@
#
# spec file for package xmvn-connector-ivy
# spec file
#
# Copyright (c) 2021 SUSE LLC
#

View File

@ -1,5 +1,5 @@
#
# spec file for package xmvn-mojo
# spec file
#
# Copyright (c) 2021 SUSE LLC
#

View File

@ -1,5 +1,5 @@
#
# spec file for package xmvn-parent
# spec file
#
# Copyright (c) 2021 SUSE LLC
#

View File

@ -1,5 +1,5 @@
#
# spec file for package xmvn-tools
# spec file
#
# Copyright (c) 2021 SUSE LLC
#

View File

@ -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>

View File

@ -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}/