use systemd macro for scriptlet dependencies
This commit is contained in:
parent
ab2181b2fa
commit
eabe7b50e5
@ -28,12 +28,10 @@ BuildRequires: libcap-devel libedit-devel nss-devel pps-tools-devel
|
|||||||
%ifarch %{ix86} x86_64 %{arm} aarch64 mipsel mips64el ppc64 ppc64le s390 s390x
|
%ifarch %{ix86} x86_64 %{arm} aarch64 mipsel mips64el ppc64 ppc64le s390 s390x
|
||||||
BuildRequires: libseccomp-devel
|
BuildRequires: libseccomp-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: bison systemd-units
|
BuildRequires: bison systemd
|
||||||
|
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
Requires(post): systemd
|
%{?systemd_requires}
|
||||||
Requires(preun): systemd
|
|
||||||
Requires(postun): systemd
|
|
||||||
|
|
||||||
# install timedated implementation that can control chronyd service
|
# install timedated implementation that can control chronyd service
|
||||||
Recommends: timedatex
|
Recommends: timedatex
|
||||||
|
Loading…
Reference in New Issue
Block a user