Sync from SUSE:SLFO:Main jakarta-mail revision 753a01362680404ea1c3a67dac46ba62
This commit is contained in:
parent
2c0b3c7267
commit
eb4782091b
@ -8,12 +8,13 @@
|
|||||||
|
|
||||||
<property name="project.groupId" value="jakarta.mail"/>
|
<property name="project.groupId" value="jakarta.mail"/>
|
||||||
<property name="project.artifactId" value="jakarta.mail-api"/>
|
<property name="project.artifactId" value="jakarta.mail-api"/>
|
||||||
<property name="project.version" value="2.1.0"/>
|
<property name="project.version" value="2.1.3"/>
|
||||||
|
|
||||||
<property name="spec.version" value="2.1"/>
|
<property name="spec.version" value="2.1"/>
|
||||||
<property name="mail.version" value="${project.version}"/>
|
<property name="mail.version" value="${project.version}"/>
|
||||||
|
|
||||||
<property name="compiler.source" value="1.8"/>
|
<property name="compiler.release" value="8"/>
|
||||||
|
<property name="compiler.source" value="1.${compiler.release}"/>
|
||||||
<property name="compiler.target" value="${compiler.source}"/>
|
<property name="compiler.target" value="${compiler.source}"/>
|
||||||
|
|
||||||
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
||||||
@ -61,6 +62,7 @@
|
|||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
|
release="${compiler.release}"
|
||||||
target="${compiler.target}"
|
target="${compiler.target}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false"
|
fork="false"
|
||||||
@ -76,6 +78,7 @@
|
|||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
|
release="9"
|
||||||
target="9"
|
target="9"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false"
|
fork="false"
|
||||||
@ -146,7 +149,7 @@
|
|||||||
<attribute name="Implementation-Title" value="Jakarta Mail API"/>
|
<attribute name="Implementation-Title" value="Jakarta Mail API"/>
|
||||||
<attribute name="Implementation-Vendor" value="Eclipse Foundation"/>
|
<attribute name="Implementation-Vendor" value="Eclipse Foundation"/>
|
||||||
<attribute name="Import-Package" value="jakarta.activation;version="[2.1,3)",jakarta.mail.event;version="[2.1,3)",jakarta.mail.internet;version="[2.1,3)",jakarta.mail.search;version="[2.1,3)",jakarta.mail.util;version="[2.1,3)",jakarta.mail;version="[2.1,3)""/>
|
<attribute name="Import-Package" value="jakarta.activation;version="[2.1,3)",jakarta.mail.event;version="[2.1,3)",jakarta.mail.internet;version="[2.1,3)",jakarta.mail.search;version="[2.1,3)",jakarta.mail.util;version="[2.1,3)",jakarta.mail;version="[2.1,3)""/>
|
||||||
<attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))""/>
|
<attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/>
|
||||||
<attribute name="Specification-Title" value="Jakarta Mail Specification"/>
|
<attribute name="Specification-Title" value="Jakarta Mail Specification"/>
|
||||||
<attribute name="Specification-Vendor" value="Eclipse Foundation"/>
|
<attribute name="Specification-Vendor" value="Eclipse Foundation"/>
|
||||||
<attribute name="Specification-Version" value="${spec.version}"/>
|
<attribute name="Specification-Version" value="${spec.version}"/>
|
||||||
|
@ -1,3 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 29 17:00:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to version 2.1.3
|
||||||
|
* Changes:
|
||||||
|
+ #621 - j.m.u.FactoryFinder.factoryFromServiceLoader needs
|
||||||
|
PrivilegedAction
|
||||||
|
+ #598 - expected resource not found:
|
||||||
|
/META-INF/javamail.default.address.map
|
||||||
|
+ #594 - Implement equals() and hashcode() on
|
||||||
|
jakarta.mail.Header
|
||||||
|
+ #630 - Use OSGi service loader mediator
|
||||||
|
+ #629: jakarta.mail-api-2.1.0.jar does not work in OSGi
|
||||||
|
environment (hk2servicelocator)
|
||||||
|
+ #635: The hk2 service loader is not used everywhere (where
|
||||||
|
necessary)
|
||||||
|
+ #660: fix wrong class file version for package-info
|
||||||
|
+ #664: Typo in Session.setDebug Javadoc
|
||||||
|
+ adds missing javadoc descriptions
|
||||||
|
+ updates dependency on Jakarta Activation API jar to version
|
||||||
|
2.1.2 and angus-activation used by tests to 2.0.1
|
||||||
|
+ #631: Session.getService does not use proper classloader in
|
||||||
|
OSGI environment
|
||||||
|
+ #665: Jakarta Mail erroneously assumes that classes can be
|
||||||
|
loaded from Thread#getContextClassLoader
|
||||||
|
+ #694: SharedFileInputStream should comply with spec
|
||||||
|
+ #710: Cannot parse messages without a session
|
||||||
|
+ updates dependency on Jakarta Activation API jar to version
|
||||||
|
2.1.3 and angus-activation used by tests to 2.0.2
|
||||||
|
- Use the new https://github.com/jakartaee/mail-api URL
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 3 14:16:52 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
Thu Mar 3 14:16:52 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jakarta-mail
|
# spec file for package jakarta-mail
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,21 +16,25 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global artifact_name jakarta.mail-api
|
%global srcname mail-api
|
||||||
|
%global artifact_name jakarta.%{srcname}
|
||||||
|
# The automatic requires would be java-headless >= 9, but the
|
||||||
|
# binaries are java 8 compatible
|
||||||
|
%define __requires_exclude java-headless
|
||||||
Name: jakarta-mail
|
Name: jakarta-mail
|
||||||
Version: 2.1.0
|
Version: 2.1.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Jakarta Mail API
|
Summary: Jakarta Mail API
|
||||||
License: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
License: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
||||||
URL: https://eclipse-ee4j.github.io/mail/
|
URL: https://github.com/jakartaee/mail-api
|
||||||
Source0: https://github.com/eclipse-ee4j/mail/archive/%{version}/mail-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||||
Source1: %{name}-build.xml
|
Source1: %{name}-build.xml
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: jakarta-activation
|
BuildRequires: jakarta-activation
|
||||||
BuildRequires: java-devel >= 9
|
BuildRequires: java-devel >= 9
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
Requires: mvn(jakarta.activation:jakarta.activation-api)
|
Requires: java-headless >= 1.8
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -46,14 +50,12 @@ Summary: Javadoc for %{name}
|
|||||||
This package contains javadoc for %{name}.
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n mail-%{version}
|
%setup -q -n %{srcname}-%{version}
|
||||||
cp %{SOURCE1} api/build.xml
|
cp %{SOURCE1} api/build.xml
|
||||||
mkdir -p api/lib
|
|
||||||
|
|
||||||
%pom_remove_parent api
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd api
|
pushd api
|
||||||
|
mkdir -p lib
|
||||||
build-jar-repository -s lib jakarta-activation
|
build-jar-repository -s lib jakarta-activation
|
||||||
%{ant} package javadoc
|
%{ant} package javadoc
|
||||||
popd
|
popd
|
||||||
@ -61,12 +63,12 @@ popd
|
|||||||
%install
|
%install
|
||||||
pushd api
|
pushd api
|
||||||
# jars
|
# jars
|
||||||
mkdir -p %{buildroot}%{_javadir}/%{name}
|
install -d -m 0755 %{buildroot}%{_javadir}/%{name}
|
||||||
cp -a target/%{artifact_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{artifact_name}.jar
|
install -p -m 0644 target/%{artifact_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{artifact_name}.jar
|
||||||
|
|
||||||
#pom
|
#pom
|
||||||
install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name}
|
install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifact_name}.pom
|
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifact_name}.pom
|
||||||
%add_maven_depmap %{name}/%{artifact_name}.pom %{name}/%{artifact_name}.jar
|
%add_maven_depmap %{name}/%{artifact_name}.pom %{name}/%{artifact_name}.jar
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
|
BIN
mail-2.1.0.tar.gz
(Stored with Git LFS)
BIN
mail-2.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
mail-api-2.1.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
mail-api-2.1.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user