Fridrich Strba 2022-03-17 03:07:50 +00:00 committed by Git OBS Bridge
parent de8160c9df
commit 799301db9f
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 17 03:07:12 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Add jaf dependency so that we can build with JDK that does not
contain the JavaEE modules
-------------------------------------------------------------------
Mon Apr 8 11:14:08 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package javamail
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -28,6 +28,7 @@ Source: https://github.com/javaee/javamail/archive/%{git_tag}.tar.gz
Patch0: %{name}-javadoc.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: jaf
BuildRequires: javapackages-local
BuildRequires: perl-XML-XPath
# Adapted from the classpathx-mail (and JPackage glassfish-javamail) Provides.
@ -80,7 +81,7 @@ rm mail/src/test/java/com/sun/mail/smtp/SMTPWriteTimeoutTest.java
%pom_remove_parent .
%build
%{ant} -Djavac.source=1.6 -Djavac.target=1.6 jar jars docs
%{ant} -Djavac.source=1.6 -Djavac.target=1.6 -Dactivation.jar=$(find-jar jaf/javax.activation) jar jars docs
%install
get_name() {