SHA256
1
0
forked from pool/axis

Accepting request 957047 from Java:packages

Build against reload4j

OBS-URL: https://build.opensuse.org/request/show/957047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/axis?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2022-02-24 17:18:22 +00:00 committed by Git OBS Bridge
commit 41ee47d861
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 22 19:26:22 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Do not build against the log4j12 packages, use the new reload4j
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 1 08:55:41 UTC 2019 - Fridrich Strba <fstrba@suse.com> Tue Oct 1 08:55:41 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package axis # spec file for package axis
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Release: 0
Summary: Apache implementation of the SOAP Summary: Apache implementation of the SOAP
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/Java Group: Development/Libraries/Java
Url: http://axis.apache.org/axis/ URL: http://axis.apache.org/axis/
Source0: axis-src-1_4.tar.bz2 Source0: axis-src-1_4.tar.bz2
# svn export http://svn.apache.org/repos/asf/webservices/axis/branches/AXIS_1_4_FINAL/ # svn export http://svn.apache.org/repos/asf/webservices/axis/branches/AXIS_1_4_FINAL/
# Build only # Build only
@ -64,7 +64,7 @@ BuildRequires: javamail
BuildRequires: javapackages-local BuildRequires: javapackages-local
BuildRequires: javapackages-tools BuildRequires: javapackages-tools
BuildRequires: junit BuildRequires: junit
BuildRequires: log4j12-mini BuildRequires: reload4j
BuildRequires: servletapi5 BuildRequires: servletapi5
BuildRequires: unzip BuildRequires: unzip
BuildRequires: wsdl4j BuildRequires: wsdl4j
@ -76,7 +76,7 @@ Requires: jakarta-commons-discovery
Requires: java Requires: java
Requires: javamail Requires: javamail
Requires: jaxp_parser_impl Requires: jaxp_parser_impl
Requires: log4j12 Requires: reload4j
Requires: wsdl4j Requires: wsdl4j
Obsoletes: %{name}-javadoc Obsoletes: %{name}-javadoc
BuildArch: noarch BuildArch: noarch
@ -118,7 +118,7 @@ cp %{SOURCE1} %{SOURCE2} %{SOURCE3} .
%build %build
[ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java [ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java
CLASSPATH=$(build-classpath wsdl4j commons-discovery commons-httpclient3 commons-logging log4j12/log4j-12 activation javamail servletapi5) CLASSPATH=$(build-classpath wsdl4j commons-discovery commons-httpclient3 commons-logging reload4j activation javamail servletapi5)
export CLASSPATH=$CLASSPATH:$(build-classpath oro junit jdepend jimi xml-security jsse httpunit jms castor 2>/dev/null) export CLASSPATH=$CLASSPATH:$(build-classpath oro junit jdepend jimi xml-security jsse httpunit jms castor 2>/dev/null)
export OPT_JAR_LIST="ant/ant-nodeps" export OPT_JAR_LIST="ant/ant-nodeps"
ant -Dcompile.ime=true \ ant -Dcompile.ime=true \
@ -126,7 +126,7 @@ ant -Dcompile.ime=true \
-Dcommons-discovery.jar=$(build-classpath commons-discovery) \ -Dcommons-discovery.jar=$(build-classpath commons-discovery) \
-Dcommons-logging.jar=$(build-classpath commons-logging) \ -Dcommons-logging.jar=$(build-classpath commons-logging) \
-Dcommons-httpclient.jar=$(build-classpath commons-httpclient3) \ -Dcommons-httpclient.jar=$(build-classpath commons-httpclient3) \
-Dlog4j-core.jar=$(build-classpath log4j12/log4j-12) \ -Dlog4j-core.jar=$(build-classpath reload4j/reload4j) \
-Dactivation.jar=$(build-classpath jaf) \ -Dactivation.jar=$(build-classpath jaf) \
-Dmailapi.jar=$(build-classpath javamail/mailapi) \ -Dmailapi.jar=$(build-classpath javamail/mailapi) \
-Dxerces.jar=$(build-classpath jaxp_parser_impl) \ -Dxerces.jar=$(build-classpath jaxp_parser_impl) \