Sync from SUSE:SLFO:Main jakarta-activation revision d0225e4a1a743503b53dbeb82ccf390d
This commit is contained in:
parent
b094aaa4ed
commit
940697ef2f
BIN
jaf-2.1.0.tar.gz
(Stored with Git LFS)
BIN
jaf-2.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
jaf-api-2.1.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
jaf-api-2.1.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -8,12 +8,13 @@
|
|||||||
|
|
||||||
<property name="project.groupId" value="jakarta.activation"/>
|
<property name="project.groupId" value="jakarta.activation"/>
|
||||||
<property name="project.artifactId" value="jakarta.activation-api"/>
|
<property name="project.artifactId" value="jakarta.activation-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="activation.version" value="${project.version}"/>
|
<property name="activation.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}"/>
|
||||||
@ -43,6 +44,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"
|
||||||
@ -57,6 +59,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"
|
||||||
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 29 16:54:40 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to version 2.1.3
|
||||||
|
* Changes:
|
||||||
|
+ #93 - Use OSGi service loader mediator
|
||||||
|
+ #94 - Loading of service provider implementations needs to be
|
||||||
|
done under doPrivileged
|
||||||
|
+ #100 - Avoid requiring accessDeclaredMembers permissions
|
||||||
|
+ fix wrong class file version for package-info
|
||||||
|
+ add missing javadoc description for MimeTypeEntry getters
|
||||||
|
+ fixes erroneous assumption about classes being loaded from
|
||||||
|
Thread.getContextClassLoader
|
||||||
|
+ allows reproducible build
|
||||||
|
- Use the new https://github.com/jakartaee/jaf-api URL
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 29 14:28:00 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- The binaries are compatible with java 1.8
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 3 14:26:41 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
Thu Mar 3 14:26:41 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jakarta-activation
|
# spec file for package jakarta-activation
|
||||||
#
|
#
|
||||||
# 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,19 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global srcname jaf-api
|
||||||
%global artifact_name jakarta.activation-api
|
%global artifact_name jakarta.activation-api
|
||||||
|
# The automatic requires would be java-headless >= 9, but the
|
||||||
|
# binaries are java 8 compatible
|
||||||
|
%define __requires_exclude java-headless
|
||||||
Name: jakarta-activation
|
Name: jakarta-activation
|
||||||
Version: 2.1.0
|
Version: 2.1.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Jakarta Activation Specification and Implementation
|
Summary: Jakarta Activation Specification and Implementation
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://eclipse-ee4j.github.io/jaf/
|
URL: https://github.com/jakartaee/%{srcname}
|
||||||
Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz
|
Source0: https://github.com/jakartaee/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||||
Source1: %{name}-build.xml
|
Source1: %{name}-build.xml
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 9
|
BuildRequires: java-devel >= 9
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -44,35 +49,31 @@ Summary: Javadoc for %{name}
|
|||||||
This package contains javadoc for %{name}.
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n jaf-%{version}
|
%setup -q -n %{srcname}-%{version}
|
||||||
cp %{SOURCE1} api/build.xml
|
cp %{SOURCE1} api/build.xml
|
||||||
|
|
||||||
%pom_remove_parent api
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd api
|
pushd api
|
||||||
%{ant} package javadoc
|
%{ant} package javadoc
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
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 -pm 0644 api/target/%{artifact_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{artifact_name}.jar
|
||||||
|
|
||||||
#pom
|
#pom
|
||||||
install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name}
|
install -d -m 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifact_name}.pom
|
%{mvn_install_pom} api/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
|
||||||
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -a target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
cp -a api/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
popd
|
|
||||||
|
|
||||||
%fdupes -s %{buildroot}%{_javadocdir}
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
%files -f api/.mfiles
|
%files -f .mfiles
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.md NOTICE.md
|
%license LICENSE.md NOTICE.md
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user