From 54bf0cf4da56ca355047a23035b10ae7220674f7 Mon Sep 17 00:00:00 2001 From: Stuart D. Gathman Date: Aug 10 2016 18:49:33 +0000 Subject: Fix backward seccomp logic --- diff --git a/cjdns.spec b/cjdns.spec index 8f88448..9f218e0 100644 --- a/cjdns.spec +++ b/cjdns.spec @@ -5,7 +5,7 @@ %global use_embedded 0 # Use libsodium instead of nacl %global use_libsodium 0 -# Use SECCOMP +# Option to disable SECCOMP: confusing backward logic %bcond_without seccomp %if 0%{use_libsodium} @@ -224,11 +224,8 @@ ln -s /usr/share/selinux/devel/Makefile . make cd - -%if !0%{?seccomp} -export Seccomp_NO=1 -%endif - # nodejs based build system +export Seccomp_NO=0%{?seccomp} CJDNS_RELEASE_VERSION="%{name}-%{version}-%{release}" ./do # FIXME: use system libuv on compatible systems