From 35482f16137ee7842bf8e2c78b59df8b81666259 Mon Sep 17 00:00:00 2001 From: Michal Ambroz Date: Thu, 11 Aug 2016 02:34:44 +0200 Subject: [PATCH] building epel7 without cuckoo support due to old version of jansson --- yara.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/yara.spec b/yara.spec index eaa6015..7dff84a 100644 --- a/yara.spec +++ b/yara.spec @@ -50,7 +50,8 @@ BuildRequires: bison BuildRequires: flex BuildRequires: libtool BuildRequires: file-devel -BuildRequires: jansson-devel >= 2.5 +#jansson is in version 2.4 in epel +#BuildRequires: jansson-devel >= 2.5 BuildRequires: openssl-devel #html doc generation @@ -100,7 +101,8 @@ autoreconf --force --install %build #macro \configure already does use CFLAGS="\{optflags}" and yara build #scripts configure/make already honors that CFLAGS -%configure --enable-magic --enable-cuckoo --with-crypto \ +#jansson >= 2.5 not available in EPEL7 thus building without cuckoo support +%configure --enable-magic --with-crypto \ --htmldir=%{_datadir}/doc/%{name}/html make %{?_smp_mflags}