Don't use Recommends on RHEL 7

This commit is contained in:
Mikolaj Izdebski 2019-08-19 12:07:52 +02:00
parent 4dbb0e7ea7
commit bf3622aec2

View File

@ -85,7 +85,11 @@ Requires: javapackages-tools
# Theoretically Maven might be usable with just JRE, but typical Maven
# workflow requires full JDK, so we recommend it here.
%if 0%{?fedora} || 0%{?rhel} > 7
Recommends: java-devel
%else
Requires: java-devel
%endif
%if 0%{?module_prefix:1}
%description -n %{module_prefix}%{name}