Accepting request 1170841 from Java:packages
This runs with java 8 just fine OBS-URL: https://build.opensuse.org/request/show/1170841 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glassfish-jaxb-api?expand=0&rev=7
This commit is contained in:
commit
d24ac0edc7
@ -10,7 +10,8 @@
|
||||
<property name="project.artifactId" value="jaxb-api"/>
|
||||
<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="build.finalName" value="${project.artifactId}-${project.version}"/>
|
||||
@ -52,6 +53,7 @@
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
release="${compiler.release}"
|
||||
target="${compiler.target}"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
@ -67,12 +69,14 @@
|
||||
<javac destdir="${build.outputDir.Java9}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
encoding="utf-8"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="${compiler.target}"
|
||||
release="9"
|
||||
target="9"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="${compiler.source}">
|
||||
source="9">
|
||||
<src>
|
||||
<pathelement location="${build.srcDir.Java9}"/>
|
||||
</src>
|
||||
@ -82,12 +86,13 @@
|
||||
</classpath>
|
||||
</javac>
|
||||
<!-- Build the module-info.jar file -->
|
||||
<javac destdir="${build.outputDir}"
|
||||
<javac destdir="${build.outputDir.Java9}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
encoding="utf-8"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
release="9"
|
||||
target="9"
|
||||
verbose="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>
|
||||
|
||||
|
@ -18,6 +18,9 @@
|
||||
|
||||
%global oname jaxb-spec
|
||||
%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
|
||||
Version: 2.4.0
|
||||
Release: 0
|
||||
@ -33,6 +36,7 @@ BuildRequires: glassfish-activation-api
|
||||
BuildRequires: java-devel >= 9
|
||||
BuildRequires: javapackages-local >= 6
|
||||
BuildRequires: unzip
|
||||
Requires: java-headless >= 1.8
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user