This commit is contained in:
parent
48cf831552
commit
5e0e92ef69
@ -10,7 +10,8 @@
|
|||||||
<property name="project.artifactId" value="jaxb-api"/>
|
<property name="project.artifactId" value="jaxb-api"/>
|
||||||
<property name="project.version" value="2.4.0"/>
|
<property name="project.version" value="2.4.0"/>
|
||||||
|
|
||||||
<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}"/>
|
||||||
@ -52,6 +53,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"
|
||||||
@ -65,14 +67,16 @@
|
|||||||
<!-- Build Multi-Release classes for Java 9 -->
|
<!-- Build Multi-Release classes for Java 9 -->
|
||||||
<mkdir dir="${build.outputDir.Java9}"/>
|
<mkdir dir="${build.outputDir.Java9}"/>
|
||||||
<javac destdir="${build.outputDir.Java9}"
|
<javac destdir="${build.outputDir.Java9}"
|
||||||
nowarn="false"
|
nowarn="false"
|
||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
encoding="utf-8"
|
||||||
deprecation="true"
|
optimize="false"
|
||||||
target="${compiler.target}"
|
deprecation="true"
|
||||||
verbose="false"
|
release="9"
|
||||||
fork="false"
|
target="9"
|
||||||
source="${compiler.source}">
|
verbose="false"
|
||||||
|
fork="false"
|
||||||
|
source="9">
|
||||||
<src>
|
<src>
|
||||||
<pathelement location="${build.srcDir.Java9}"/>
|
<pathelement location="${build.srcDir.Java9}"/>
|
||||||
</src>
|
</src>
|
||||||
@ -82,12 +86,13 @@
|
|||||||
</classpath>
|
</classpath>
|
||||||
</javac>
|
</javac>
|
||||||
<!-- Build the module-info.jar file -->
|
<!-- Build the module-info.jar file -->
|
||||||
<javac destdir="${build.outputDir}"
|
<javac destdir="${build.outputDir.Java9}"
|
||||||
nowarn="false"
|
nowarn="false"
|
||||||
debug="true"
|
debug="true"
|
||||||
encoding="utf-8"
|
encoding="utf-8"
|
||||||
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,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 29 15:33:30 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- The binaries are compatible with java 1.8
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 21 22:02:16 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Wed Feb 21 22:02:16 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
|
|
||||||
%global oname jaxb-spec
|
%global oname jaxb-spec
|
||||||
%global bundle jaxb-api
|
%global bundle jaxb-api
|
||||||
|
# The automatic requires would be java-headless >= 9, but the
|
||||||
|
# binaries are java 8 compatible
|
||||||
|
%define __requires_exclude java-headless
|
||||||
Name: glassfish-jaxb-api
|
Name: glassfish-jaxb-api
|
||||||
Version: 2.4.0
|
Version: 2.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -33,6 +36,7 @@ BuildRequires: glassfish-activation-api
|
|||||||
BuildRequires: java-devel >= 9
|
BuildRequires: java-devel >= 9
|
||||||
BuildRequires: javapackages-local >= 6
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user