Avoid using recommends when not supported

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
This commit is contained in:
Nicolas Chauvet 2020-03-06 18:42:26 +01:00
parent afaf8d3bf4
commit ba7ec40020

View File

@ -107,7 +107,9 @@ Requires: java-headless >= 1:1.8.0
Requires: javapackages-tools
Requires: procps
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} > 7
Recommends: tomcat-native >= %{native_version}
%endif
Requires(pre): shadow-utils
Requires(post): systemd
Requires(preun): systemd