diff --git a/chrony.spec b/chrony.spec index dbb5710..129f878 100644 --- a/chrony.spec +++ b/chrony.spec @@ -29,9 +29,9 @@ Patch2: chrony-seccomp.patch # revert some hardening options in service files Patch3: chrony-services.patch -BuildRequires: libcap-devel libedit-devel nettle-devel pps-tools-devel +BuildRequires: gnutls-devel libcap-devel libedit-devel pps-tools-devel BuildRequires: gcc gcc-c++ make bison systemd gnupg2 -%{?with_nts:BuildRequires: gnutls-devel gnutls-utils} +%{?with_nts:BuildRequires: gnutls-utils} %{?with_seccomp:BuildRequires: libseccomp-devel} Requires(pre): shadow-utils @@ -108,7 +108,10 @@ mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim --with-user=chrony \ --with-hwclockfile=%{_sysconfdir}/adjtime \ --with-pidfile=/run/chrony/chronyd.pid \ - --with-sendmail=%{_sbindir}/sendmail + --with-sendmail=%{_sbindir}/sendmail \ + --without-nettle \ + --without-nss \ + --without-tomcrypt %make_build %install