2022-03-17 03:14:36 +00:00
committed by Git OBS Bridge
parent f627c7e9e3
commit c247894783
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 17 03:13:35 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Add jaf dependency so that we can build with JDK that does not
contain the JavaEE modules
-------------------------------------------------------------------
Tue May 15 09:41:06 UTC 2018 - fstrba@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package apache
# spec file
#
# Copyright (c) 2018 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
@@ -12,7 +12,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/
#
@@ -24,13 +24,14 @@ Release: 0
Summary: Apache Commons Email Package
License: Apache-2.0
Group: Development/Libraries/Java
Url: http://commons.apache.org/%{base_name}/
URL: http://commons.apache.org/%{base_name}/
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Source1: build.xml.tar.bz2
Patch0: commons-email-1.5-sourcetarget.patch
Patch1: commons-email-1.5-javadoc.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: jaf
BuildRequires: java-devel >= 1.8
BuildRequires: javamail
BuildRequires: javapackages-tools
@@ -56,7 +57,7 @@ This package contains the API documentation for %{name}.
%build
ant -Dmaven.mode.offline=true -Dmaven.test.skip=true \
-lib %{_javadir} javadoc package
-lib %{_javadir}:%{_javadir}/jaf javadoc package
%install
# jars