Fix version for istack-commons-* build requirement

"istack-commons-*" are present in version 2.21.9 from AppStream and in
version 4.1.1 as part of jaxb module and if version is not specified the
latest get installed.

The 4.1.1 from jaxb module is built using java 11 (it is required) but
the glassfish-jaxb is built using java 8 so it fails.

Limiting the istack-commons-* version to < 3.0 will install the 2.1.1
and the package can be built.
This commit is contained in:
Marco Fargetta 2023-11-30 10:55:20 +01:00
parent 10b1a95b1e
commit 16f367186d
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ URL:
BuildRequires: maven-local
BuildRequires: mvn(com.sun.istack:istack-commons-runtime)
BuildRequires: mvn(com.sun.istack:istack-commons-tools)
BuildRequires: mvn(com.sun.istack:istack-commons-runtime) < 3.0
BuildRequires: mvn(com.sun.istack:istack-commons-tools) < 3.0
BuildRequires: mvn(com.sun:tools)
BuildRequires: mvn(com.sun.xml.fastinfoset:FastInfoset)
BuildRequires: mvn(javax.xml.bind:jaxb-api)