Commit bea043a8 authored by akrherz's avatar akrherz

OF-1175 Require jre-headless >= 1:1.7.0 for noarch RPM

Adds explicit requirement for jre-headless to be installed for the noarch RPM.

Note: the epoch is set to 1 for this requirement as well, which seems to be the convention based on https://fedorahosted.org/released/javapackages/doc/#_jvm
parent a3a36bdd
...@@ -7,6 +7,11 @@ Source0: %{OPENFIRE_SOURCE} ...@@ -7,6 +7,11 @@ Source0: %{OPENFIRE_SOURCE}
%ifnarch noarch %ifnarch noarch
Source1: %{JRE_BUNDLE} Source1: %{JRE_BUNDLE}
%endif %endif
%ifarch noarch
# Note that epoch is set here to 1, this appears to be consistent with non-Redhat
# jres as well due to an ancient problem with java-1.5.0-ibm jpackage RPM
Requires: java-headless >= 1:1.7.0
%endif
Group: Applications/Communications Group: Applications/Communications
Vendor: Igniterealtime Community Vendor: Igniterealtime Community
Packager: Igniterealtime Community Packager: Igniterealtime Community
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment