Don't use Recommends on RHEL 7
This commit is contained in:
parent
4dbb0e7ea7
commit
bf3622aec2
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user