Use %{systemd_requires} macro
This commit is contained in:
parent
a85dc12a36
commit
74ad15ed91
@ -229,9 +229,7 @@ Obsoletes: uwsgi-plugin-admin <= 2.0.6
|
||||
|
||||
Requires(pre): shadow-utils
|
||||
%if %{with systemd}
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
%{?systemd_requires}
|
||||
%else
|
||||
Requires(post): chkconfig
|
||||
Requires(preun): chkconfig
|
||||
|
Loading…
Reference in New Issue
Block a user