From a45acda0b131f9f785228aa27794a237b2157772 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 2 Oct 2015 14:22:46 +0200 Subject: [PATCH] use weak dependency for timedatex on Fedora 24 and later --- chrony.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chrony.spec b/chrony.spec index 94de2a9..9051e9b 100644 --- a/chrony.spec +++ b/chrony.spec @@ -32,10 +32,14 @@ Requires(post): systemd info Requires(preun): systemd info Requires(postun): systemd -%if 0%{?fedora} >= 22 || 0%{?rhel} >= 8 # install timedated implementation that can control chronyd service +%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8 +Recommends: timedatex +%else +%if 0%{?fedora} >= 22 Requires: timedatex %endif +%endif %description A client/server for the Network Time Protocol, this program keeps your