From eabe7b50e5d4266a2f72ca9e2725a7ac3d6c217e Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Jan 30 2018 10:33:50 +0000 Subject: use systemd macro for scriptlet dependencies --- diff --git a/chrony.spec b/chrony.spec index 5e4a62d..9d42b95 100644 --- a/chrony.spec +++ b/chrony.spec @@ -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 BuildRequires: libseccomp-devel %endif -BuildRequires: bison systemd-units +BuildRequires: bison systemd Requires(pre): shadow-utils -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd +%{?systemd_requires} # install timedated implementation that can control chronyd service Recommends: timedatex