Accepting request 767563 from Java:packages

Avoid building with OpenJ9 to prevent build cycle

OBS-URL: https://build.opensuse.org/request/show/767563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xbean?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2020-01-27 19:16:44 +00:00 committed by Git OBS Bridge
commit ad98eaf8ff
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 27 06:29:59 UTC 2020 - Fridrich Strba <fstrba@suse.com>
- On supported platforms, avoid building with OpenJ9, in order to
prevent build cycles
-------------------------------------------------------------------
Sat Oct 5 17:00:13 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package xbean
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,22 +22,25 @@ Release: 0
Summary: Java plugin based web server
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://geronimo.apache.org/xbean/
URL: https://geronimo.apache.org/xbean/
Source0: http://repo2.maven.org/maven2/org/apache/%{name}/%{name}/%{version}/%{name}-%{version}-source-release.zip
# Fix dependency on xbean-asm4-shaded to original objectweb-asm
Patch0: 0001-Unshade-ASM.patch
Patch2: 0003-Port-to-QDox-2.0.patch
BuildRequires: apache-commons-logging
BuildRequires: fdupes
BuildRequires: java-devel
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: log4j12
BuildRequires: objectweb-asm >= 5
BuildRequires: slf4j
BuildRequires: unzip
# The code uses sun.misc.URLClassloader
BuildConflicts: java-devel >= 9
BuildConflicts: java-headless >= 9
# Avoid build cycles
BuildConflicts: java-devel-openj9
BuildConflicts: java-headless-openj9
Requires: objectweb-asm >= 5
Requires: slf4j
BuildArch: noarch