This commit is contained in:
parent
de8160c9df
commit
799301db9f
@ -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>
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user