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
|
Requires(pre): shadow-utils
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
Requires(post): systemd-units
|
%{?systemd_requires}
|
||||||
Requires(preun): systemd-units
|
|
||||||
Requires(postun): systemd-units
|
|
||||||
%else
|
%else
|
||||||
Requires(post): chkconfig
|
Requires(post): chkconfig
|
||||||
Requires(preun): chkconfig
|
Requires(preun): chkconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user