From 7aa37c694bc783baad12dd1df577d8ebadfbe5b2 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 7 Oct 2015 14:07:32 +0200 Subject: [PATCH] require libseccomp-devel on supported archs only --- chrony.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrony.spec b/chrony.spec index a030efd..d236f5b 100644 --- a/chrony.spec +++ b/chrony.spec @@ -24,7 +24,9 @@ Source10: https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/c Patch1: chrony-service-helper.patch BuildRequires: libcap-devel libedit-devel nss-devel pps-tools-devel +%ifarch %{ix86} x86_64 %{arm} aarch64 BuildRequires: libseccomp-devel +%endif BuildRequires: bison texinfo systemd-units Requires(pre): shadow-utils