From e9aec56529cde4e369b809e6c7941091845c7bf93d32902163f525ae3e3f4366 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 28 Jul 2021 01:06:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/glassfish-jaxb-api?expand=0&rev=7 --- glassfish-jaxb-api.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/glassfish-jaxb-api.spec b/glassfish-jaxb-api.spec index f09f112..5a48788 100644 --- a/glassfish-jaxb-api.spec +++ b/glassfish-jaxb-api.spec @@ -1,7 +1,7 @@ # # spec file for package glassfish-jaxb-api # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,6 +33,12 @@ BuildRequires: mvn(javax.activation:javax.activation-api) BuildRequires: mvn(net.java:jvnet-parent:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) +BuildConflicts: java < 9 +BuildConflicts: java-devel < 9 +BuildConflicts: java-headless < 9 +BuildConflicts: java >= 12 +BuildConflicts: java-devel >= 12 +BuildConflicts: java-headless >= 12 BuildArch: noarch %description