Can you also fix theses requirements? mongod isn't in the default
repositories so you cannot break dependencies that way (and make
repoclosure to complain)
Another point is that It seems unlikely that one is enforced to have
the unifi service and mongod on the same server, so enforcing the
dependency looks incorrect to me.
Also for java guidelines, you need to specify the java version that way:
java-headless = 1:1.8.0 (or >= if it's compatible with java 8 and later).
See also https://fedoraproject.org/wiki/Packaging:Java