Fix version for fastinfoset build requirement

"fastinfoset" is present in version 1.2.13 in "pki-deps" module  and in
version 2.1.0 as part of jaxb module and if version is not specified the
latest get installed.

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

Limiting the stax-ex version to < 2.0 will install the 1.2.13
and the package can be built.

Resolves: https://issues.redhat.com/browse/RHEL-30061
This commit is contained in:
Marco Fargetta 2023-12-01 17:11:18 +01:00 committed by Endi S. Dewata
parent 5dff8a23c1
commit 02e874c260

View File

@ -12,7 +12,7 @@ BuildRequires: maven-local
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(com.sun.xml.fastinfoset:FastInfoset) < 2.0
BuildRequires: mvn(javax.xml.bind:jaxb-api)
BuildRequires: mvn(net.java:jvnet-parent:pom:)
BuildRequires: mvn(org.apache.ant:ant)