From 1c156733c8bed8c23c4fcaed54fadc781ec070ac1929502cb6345e4d1e0388f4 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 22 Jan 2019 10:41:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/avalon-logkit?expand=0&rev=32 --- avalon-logkit.changes | 6 ++++++ avalon-logkit.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/avalon-logkit.changes b/avalon-logkit.changes index afbb4e6..20369cc 100644 --- a/avalon-logkit.changes +++ b/avalon-logkit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 22 10:40:14 UTC 2019 - Fridrich Strba + +- 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 diff --git a/avalon-logkit.spec b/avalon-logkit.spec index 5f8d63a..925920b 100644 --- a/avalon-logkit.spec +++ b/avalon-logkit.spec @@ -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 @@ -45,8 +45,9 @@ 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 @@ -79,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 \