Accepting request 497066 from Java:packages

- Remove unneeded dependencies

- New build dependency: javapackages-local

OBS-URL: https://build.opensuse.org/request/show/497066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/avalon-logkit?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2017-05-22 08:48:39 +00:00 committed by Git OBS Bridge
commit ea678ca095
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun May 21 08:08:29 UTC 2017 - tchvatal@suse.com
- Remove unneeded dependencies
-------------------------------------------------------------------
Fri May 19 10:14:44 UTC 2017 - pcervinka@suse.com
- New build dependency: javapackages-local
-------------------------------------------------------------------
Thu Jun 4 09:54:24 UTC 2015 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package avalon-logkit
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2005, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@ -17,7 +17,6 @@
#
#
%define short_name logkit
%define camelcase_short_name LogKit
Name: avalon-logkit
@ -39,6 +38,7 @@ BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: avalon-framework >= 4.1.4
BuildRequires: javamail
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: jdbc-stdext
BuildRequires: jms
@ -46,10 +46,8 @@ BuildRequires: log4j
BuildRequires: servlet >= 3.0
BuildRequires: unzip
Requires: avalon-framework >= 4.1.4
#Requires: jdbc-stdext
Requires: jms
Requires: servlet >= 3.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
@ -60,7 +58,6 @@ that you read the whitepaper and browse the API docs.
%package javadoc
Summary: Javadoc for %{name}
Group: Development/Libraries/Java
Requires: javapackages-tools
%description javadoc
API documentation for %{name}.
@ -90,8 +87,6 @@ export CLASSPATH=%(build-classpath \
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
-Dencoding=ISO-8859-1 -Dnoget=true clean jar javadoc \
-lib %{_datadir}/java
# Convert to OSGi bundle
#java -jar $(build-classpath aqute-bnd) wrap target/%{name}-%{version}.jar
%install
# jars