commit c839b1f01e79f4074bddb4b74f49774c398935a4
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Wed Feb 27 08:23:52 2019 -0600
Fix conditional for java add modules option.
unifi.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/unifi.spec b/unifi.spec
index 0ea4a11..ec71814 100644
--- a/unifi.spec
+++ b/unifi.spec
@@ -218,7 +218,7 @@ install -p %{SOURCE100} %{SOURCE101} .
#
https://community.ubnt.com/t5/UniFi-Wireless/Running-Unifi-Controller-on-...
#
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
-%if 0%{?fedora} >= 29
+%if 0%{?fedora} > 29
cat << EOF > %{buildroot}%{_sysconfdir}/sysconfig/%{name}
JAVA_OPTS="--add-modules java.activation"
EOF