Accepting request 496607 from Java:packages

- Remove bootstrap conditional

- New build dependency: javapackages-local 
- Fixed requires

OBS-URL: https://build.opensuse.org/request/show/496607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-logging?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2017-05-31 11:29:14 +00:00 committed by Git OBS Bridge
commit e5bd20b034
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri May 19 11:03:15 UTC 2017 - tchvatal@suse.com
- Remove bootstrap conditional
-------------------------------------------------------------------
Fri May 19 10:51:10 UTC 2017 - pcervinka@suse.com
- New build dependency: javapackages-local
- Fixed requires
-------------------------------------------------------------------
Sun Jan 24 13:55:36 UTC 2016 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package apache-commons-logging
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2007, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@ -19,7 +19,6 @@
%define base_name logging
%define short_name commons-%{base_name}
%bcond_with java_bootstrap
Name: apache-%{short_name}
Version: 1.2
Release: 0
@ -33,25 +32,20 @@ Source2: apache-commons-logging.keyring
Source3: http://central.maven.org/maven2/commons-logging/commons-logging/%{version}/%{short_name}-%{version}.pom
Patch0: commons-logging-1.1.3-src-junit.diff
BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: apache-commons-parent
BuildRequires: java-devel >= 1.6.0
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: junit
BuildRequires: log4j-mini >= 1.2
BuildRequires: servletapi5
Requires: java >= 1.6.0
Requires: javapackages-tools
Requires(post): javapackages-tools
Requires(postun): javapackages-tools
Provides: jakarta-%{short_name} = %{version}-%{release}
Obsoletes: jakarta-%{short_name} < %{version}
Provides: %{short_name} = %{version}-%{release}
Obsoletes: %{short_name} < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%if !%{with java_bootstrap}
BuildRequires: ant-junit
%endif
%description
The commons-logging package provides a simple, component oriented