commit 4b23feca728b953eec05b288a56eea00efe6ee56
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Sat May 4 09:02:31 2019 -0500
Change shebang in mongod.sh.
mongod.sh | 2 +-
unifi.spec | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/mongod.sh b/mongod.sh
index b129b3e..4fe02b2 100755
--- a/mongod.sh
+++ b/mongod.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
#
# Workaround script for MongoDB 3.6 no longer accepting --nohttpinterface.
#
diff --git a/unifi.spec b/unifi.spec
index eefa752..9bef5ff 100644
--- a/unifi.spec
+++ b/unifi.spec
@@ -29,7 +29,13 @@ Requires: firewalld-filesystem
BuildRequires: firewalld-filesystem
BuildRequires: %{_bindir}/execstack
+%if 0%{?fedora} > 29
+#
https://fedoraproject.org/wiki/Changes/MongoDB_Removal
+# Must use MongoDB provided version/package.
+Requires: mongodb-org-server
+%else
Requires: mongodb-server
+%endif
Requires: java-1.8.0-openjdk-headless
Requires(post): policycoreutils-python
Requires(postun): policycoreutils-python