From 4263a6cb91650e6df8b5d2095880a4f46a70e6c8 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 23 Jan 2020 11:22:59 +0100 Subject: [PATCH] Always require JDK, not JRE --- maven.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/maven.spec b/maven.spec index 1934d7e..3669c05 100644 --- a/maven.spec +++ b/maven.spec @@ -119,8 +119,7 @@ Summary: OpenJDK 8 binding RemovePathPostfixes: -openjdk8 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 +Requires: java-1.8.0-openjdk-devel Conflicts: maven-jdk-binding %description -n %{?module_prefix}%{name}-openjdk8 @@ -131,10 +130,7 @@ Summary: OpenJDK 11 binding RemovePathPostfixes: -openjdk11 Provides: maven-jdk-binding = %{epoch}:%{version}-%{release} Requires: maven = %{epoch}:%{version}-%{release} -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 +Requires: java-11-openjdk-devel Conflicts: maven-jdk-binding %description -n %{?module_prefix}%{name}-openjdk11