Accepting request 671838 from Java:packages

Require dependencies by their maven groupId:artifactId

OBS-URL: https://build.opensuse.org/request/show/671838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/avalon-logkit?expand=0&rev=15
This commit is contained in:
Stephan Kulow 2019-02-06 14:47:08 +00:00 committed by Git OBS Bridge
commit 4166615358
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 22 10:40:14 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Require dependencies by their maven artifactId and groupId in
order to be usable from maven build
-------------------------------------------------------------------
Tue May 15 13:57:23 UTC 2018 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package avalon-logkit
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2005, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -40,14 +40,14 @@ BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javamail
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: jdbc-stdext
BuildRequires: jms
BuildRequires: log4j
BuildRequires: servlet >= 3.0
BuildRequires: unzip
Requires: jms
Requires: servlet >= 3.0
Requires: mvn(javax.jms:jms)
Requires: mvn(javax.mail:mail)
Requires: mvn(javax.servlet:servlet-api)
BuildArch: noarch
%description
@ -80,8 +80,7 @@ build-jar-repository -s -p target/lib \
log4j \
javamail/mailapi \
jms_api \
tomcat-servlet-api \
junit \
tomcat-servlet-api
ant -Dant.build.javac.source=8 -Dant.build.javac.target=8 \
-Dencoding=ISO-8859-1 -Dnoget=true -lib %{_datadir}/java \