use weak dependency for timedatex on Fedora 24 and later

This commit is contained in:
Miroslav Lichvar 2015-10-02 14:22:46 +02:00
parent c0b873f6ce
commit a45acda0b1

View File

@ -32,10 +32,14 @@ Requires(post): systemd info
Requires(preun): systemd info Requires(preun): systemd info
Requires(postun): systemd Requires(postun): systemd
%if 0%{?fedora} >= 22 || 0%{?rhel} >= 8
# install timedated implementation that can control chronyd service # install timedated implementation that can control chronyd service
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
Recommends: timedatex
%else
%if 0%{?fedora} >= 22
Requires: timedatex Requires: timedatex
%endif %endif
%endif
%description %description
A client/server for the Network Time Protocol, this program keeps your A client/server for the Network Time Protocol, this program keeps your