SHA256
1
0
forked from pool/plexus-i18n

Accepting request 892423 from Java:packages

- Do not compile/run tests against the legacy guava20 package

OBS-URL: https://build.opensuse.org/request/show/892423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plexus-i18n?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-05-12 17:32:20 +00:00 committed by Git OBS Bridge
commit 6f10609d10
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 11 14:56:51 UTC 2021 - Fridrich Strba <fstrba@suse.com>
- Do not compile/run tests against the legacy guava20 package
-------------------------------------------------------------------
Mon Apr 1 23:12:40 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package plexus-i18n
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -46,7 +46,7 @@ Requires: mvn(org.codehaus.plexus:plexus-utils)
BuildArch: noarch
%if %{with tests}
BuildRequires: ant-junit
BuildRequires: guava20
BuildRequires: guava
BuildRequires: xbean
BuildConflicts: java-devel >= 9
%endif
@ -78,7 +78,7 @@ cp %{SOURCE1} build.xml
mkdir -p lib
build-jar-repository -s lib plexus/utils plexus-containers/plexus-container-default
%if %{with tests}
build-jar-repository -s lib guava20/guava-20.0 xbean/xbean-reflect plexus/classworlds
build-jar-repository -s lib guava/guava xbean/xbean-reflect plexus/classworlds
%endif
%{ant} \
%if %{without tests}