Hello community,
here is the log from the commit of package apache-commons-lang for
openSUSE:Factory checked in at 2020-01-27 20:16:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-lang (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-lang.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-lang"
Mon Jan 27 20:16:41 2020 rev:12 rq:767556 version:2.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/apache-commons-lang/apache-commons-lang.changes
2019-03-27 16:22:34.735515067 +0100
+++
/work/SRC/openSUSE:Factory/.apache-commons-lang.new.26092/apache-commons-lang.changes
2020-01-27 20:16:42.560495848 +0100
@@ -1,0 +2,6 @@
+Mon Jan 27 06:21:47 UTC 2020 - Fridrich Strba <[email protected]>
+
+- On supported platforms, avoid building with OpenJ9 in order to
+ prevent a build cycle.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-lang.spec ++++++
--- /var/tmp/diff_new_pack.oYrEIl/_old 2020-01-27 20:16:43.200496239 +0100
+++ /var/tmp/diff_new_pack.oYrEIl/_new 2020-01-27 20:16:43.200496239 +0100
@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-lang
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2000-2009, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@@ -30,12 +30,15 @@
Patch0: fix_StopWatchTest_for_slow_systems.patch
Patch1: 0002-Fix-FastDateFormat-for-Java-7-behaviour.patch
BuildRequires: ant
-BuildRequires: ant-junit
BuildRequires: java-devel
BuildRequires: javapackages-local
BuildRequires: junit
# Java 8 is the last version that can build with source and target level 1.4
BuildConflicts: java-devel >= 1.9
+BuildConflicts: java-headless >= 1.9
+# Avoid building with OpenJ9 on supported platforms; to prevent build cycle
+BuildConflicts: java-devel-openj9
+BuildConflicts: java-headless-openj9
Provides: %{short_name} = %{version}-%{release}
Provides: jakarta-%{short_name} = %{version}-%{release}
Obsoletes: jakarta-%{short_name} < %{version}-%{release}
@@ -72,12 +75,12 @@
%build
export OPT_JAR_LIST=`cat %{_sysconfdir}/ant.d/junit`
export CLASSPATH=
-ant \
+%{ant} \
-Dcompile.source=1.4 -Dcompile.target=1.4 \
-Djunit.jar=$(build-classpath junit4) \
-Dfinal.name=%{short_name} \
-Djdk.javadoc=%{_javadocdir}/java \
- test dist
+ jar javadoc
%install
# jars