Add conflicts on bindings

This commit is contained in:
Mikolaj Izdebski 2020-01-23 10:58:56 +01:00
parent c58f4fd6dd
commit a0956ace77

View File

@ -121,6 +121,7 @@ Provides: maven-jdk-binding = %{epoch}:%{version}-%{release}
Requires: maven = %{epoch}:%{version}-%{release}
Requires: java-1.8.0-openjdk-headless
Recommends: java-1.8.0-openjdk-devel
Conflicts: maven-jdk-binding
%description -n %{?module_prefix}%{name}-openjdk8
OpenJDK 8 binding
@ -134,6 +135,7 @@ Requires: java-11-openjdk-headless
# Theoretically Maven might be usable with just JRE, but typical Maven
# workflow requires full JDK, so we recommend it here.
Recommends: java-11-openjdk-devel
Conflicts: maven-jdk-binding
%description -n %{?module_prefix}%{name}-openjdk11
OpenJDK 11 binding