Don't use boolean deps on RHEL 7
This commit is contained in:
parent
bf3622aec2
commit
bfa923c7f1
@ -76,8 +76,13 @@ Summary: %{summary}
|
||||
|
||||
Requires: %{?module_prefix}%{name}-lib = %{epoch}:%{version}-%{release}
|
||||
|
||||
%if 0%{?fedora}
|
||||
Requires(post): (alternatives if fedora-release >= 30 else chkconfig)
|
||||
Requires(postun): (alternatives if fedora-release >= 30 else chkconfig)
|
||||
%else
|
||||
Requires(post): chkconfig
|
||||
Requires(postun): chkconfig
|
||||
%endif
|
||||
|
||||
# Require full javapackages-tools since maven-script uses
|
||||
# /usr/share/java-utils/java-functions
|
||||
|
Loading…
Reference in New Issue
Block a user