Accepting request 288833 from Java:packages

- Use log4j-mini to hopefully avoid build-cycle

- add the log4j adapter to commons-logging-adapters
  (bnc#918852)

OBS-URL: https://build.opensuse.org/request/show/288833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-logging?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2015-03-05 14:33:24 +00:00 committed by Git OBS Bridge
commit 6f6f9bff3a
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Mar 4 10:31:13 UTC 2015 - tchvatal@suse.com
- Use log4j-mini to hopefully avoid build-cycle
-------------------------------------------------------------------
Fri Feb 20 15:14:30 UTC 2015 - dmacvicar@suse.de
- add the log4j adapter to commons-logging-adapters
(bnc#918852)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 12 11:10:06 UTC 2014 - lnussel@suse.de Tue Aug 12 11:10:06 UTC 2014 - lnussel@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package apache-commons-logging # spec file for package apache-commons-logging
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2007, JPackage Project # Copyright (c) 2000-2007, JPackage Project
# All rights reserved. # All rights reserved.
# #
@ -48,6 +48,7 @@ BuildRequires: maven-plugin-build-helper
BuildRequires: maven-site-plugin BuildRequires: maven-site-plugin
%endif %endif
BuildRequires: gpg-offline BuildRequires: gpg-offline
BuildRequires: log4j-mini >= 1.2
BuildRequires: servletapi5 BuildRequires: servletapi5
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -113,7 +114,7 @@ export CLASSPATH=$(build-classpath \
plexus/ \ plexus/ \
junit \ junit \
):target/classes:target/test-classes ):target/classes:target/test-classes
ant -Dmaven.mode.offline=true dist \ ant -Dmaven.mode.offline=true -Dlog4j12.jar=%{_javadir}/log4j.jar dist \
-lib %{_javadir} -lib %{_javadir}
%endif %endif