From 96070726aa80705df30f74bb78988d58b5e1d1fc Mon Sep 17 00:00:00 2001 From: Takuya ASADA Date: Mon, 15 Mar 2021 20:35:55 +0900 Subject: [PATCH] dist/redhat: add support SLES CentOS/RHEL and SLES has differnt package name of opejdk, use common name of JRE. Note that using common name of Java package is also useful when user want to use differnt implementation of JRE for Scylla. Also, disable AutoReqProv which is mistakenly enabled but required for cross build rpm. --- dist/redhat/scylla-jmx.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/redhat/scylla-jmx.spec b/dist/redhat/scylla-jmx.spec index d219152..525f460 100644 --- a/dist/redhat/scylla-jmx.spec +++ b/dist/redhat/scylla-jmx.spec @@ -10,7 +10,8 @@ Source0: %{reloc_pkg} BuildArch: noarch BuildRequires: systemd-units -Requires: %{product}-server java-1.8.0-openjdk-headless +Requires: %{product}-server jre-1.8.0-headless +AutoReqProv: no %description