commit 11ee5e8eb4fc4762a4e4d0b2b73796bf617d78cf
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Sun Jan 6 08:03:04 2019 -0600
Update java requires to address RFBZ#5126.
SETUP | 22 ++++++++++++++++++++++
unifi.spec | 2 +-
2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/SETUP b/SETUP
index 7dd8cc0..094a2c9 100644
--- a/SETUP
+++ b/SETUP
@@ -1,3 +1,25 @@
+##############
+### Fedora ###
+##############
+
+For Fedora java 1.8.0 must be selected:
+
+# alternatives --config java
+
+There are 2 programs which provide 'java'.
+
+ Selection Command
+-----------------------------------------------
+ 1 java-openjdk.x86_64
(/usr/lib/jvm/java-11-openjdk-11.0.1.13-11.rolling.fc29.x86_64/bin/java)
+*+ 2 java-1.8.0-openjdk.x86_64
(/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-11.fc29.x86_64/jre/bin/java)
+
+Enter to keep the current selection[+], or type selection number:
+
+
+#######################
+#### RHEL/CentOS/SL ###
+#######################
+
For RHEL/CentOS/SL etc, you will also need Fedora EPEL repository installed for mongodb,
on CentOS it's already available:
(as root or sudo)
diff --git a/unifi.spec b/unifi.spec
index a24d0b2..9f63bb9 100644
--- a/unifi.spec
+++ b/unifi.spec
@@ -29,7 +29,7 @@ BuildRequires: firewalld-filesystem
BuildRequires: %{_bindir}/execstack
Requires: mongodb-server
-Requires: java-headless >= 1:1.8.0
+Requires: java-1.8.0-openjdk-headless
Requires(post): policycoreutils-python
Requires(postun): policycoreutils-python
Show replies by date