enable seccomp on x86 platforms only

This commit is contained in:
Nikos Mavrogiannopoulos 2015-01-06 11:54:39 +01:00
parent e4628ce6ec
commit 3f9635ec81

View File

@ -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 <nmav@redhat.com> - 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 <nmav@redhat.com> - 0.8.9-1
- New upstream release