diff --git a/ocserv.spec b/ocserv.spec index 4f653a7..a00fc0b 100644 --- a/ocserv.spec +++ b/ocserv.spec @@ -30,7 +30,9 @@ BuildRequires: protobuf-c-devel BuildRequires: libnl3-devel BuildRequires: readline-devel BuildRequires: autogen +%ifarch %{ix86} x86_64 BuildRequires: libseccomp-devel +%endif BuildRequires: pcllib-devel BuildRequires: libtalloc-devel BuildRequires: http-parser-devel @@ -79,9 +81,6 @@ touch src/*.proto %build %configure \ -%ifarch %{arm} - --disable-seccomp \ -%endif --enable-systemd make %{?_smp_mflags} @@ -149,7 +148,7 @@ rm -rf %{buildroot} %changelog * Mon Jan 5 2015 Nikos Mavrogiannopoulos - 0.8.9-2 - ocserv.service: depend on network-online.target (#1178760) -- enable seccomp +- enable seccomp (on platforms it is available) * Thu Dec 11 2014 Nikos Mavrogiannopoulos - 0.8.9-1 - New upstream release