Accepting request 957043 from Java:packages
Build against reload4j OBS-URL: https://build.opensuse.org/request/show/957043 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-logging?expand=0&rev=24
This commit is contained in:
commit
2bdd6cc56e
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 22 19:04:25 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Do not build against the log4j12 packages, use the new reload4j
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 28 07:28:43 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
Wed Jul 28 07:28:43 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
# Copyright (c) 2000-2007, JPackage Project
|
# Copyright (c) 2000-2007, JPackage Project
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -37,7 +37,7 @@ BuildRequires: ant
|
|||||||
BuildRequires: glassfish-servlet-api
|
BuildRequires: glassfish-servlet-api
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: log4j12-mini >= 1.2
|
BuildRequires: reload4j
|
||||||
Requires: java >= 1.8
|
Requires: java >= 1.8
|
||||||
Provides: jakarta-%{short_name} = %{version}-%{release}
|
Provides: jakarta-%{short_name} = %{version}-%{release}
|
||||||
Obsoletes: jakarta-%{short_name} < %{version}
|
Obsoletes: jakarta-%{short_name} < %{version}
|
||||||
@ -79,7 +79,7 @@ export CLASSPATH=$(build-classpath \
|
|||||||
):target/classes:target/test-classes
|
):target/classes:target/test-classes
|
||||||
ant \
|
ant \
|
||||||
-Dmaven.mode.offline=true -lib %{_javadir} \
|
-Dmaven.mode.offline=true -lib %{_javadir} \
|
||||||
-Dlog4j12.jar=%{_javadir}/log4j12/log4j-12.jar -Dservletapi.jar=%{_javadir}/glassfish-servlet-api.jar \
|
-Dlog4j12.jar=$(find-jar reload4j/reload4j) -Dservletapi.jar=$(find-jar glassfish-servlet-api) \
|
||||||
dist
|
dist
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user