enable seccomp on x86 platforms only

epel9
Nikos Mavrogiannopoulos 10 years ago
parent cbda7da2bc
commit 0696cb0ce8

@ -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

Loading…
Cancel
Save