From: Elan Ruusamäe Date: Mon, 27 Jul 2015 08:53:11 +0000 (+0300) Subject: --with-crypto to enable deterministic build X-Git-Tag: auto/th/yara-3.4.0-2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=395990fa30c88790a9fcdc414f942ade62ba33d9;p=packages%2Fyara.git --with-crypto to enable deterministic build --- diff --git a/yara.spec b/yara.spec index 828cb8d..72c77c4 100644 --- a/yara.spec +++ b/yara.spec @@ -1,11 +1,11 @@ # TODO # - http://yara.readthedocs.org/en/latest/gettingstarted.html#compiling-and-installing-yara -# --with-crypto # --enable-cuckoo --enable-magic # Conditional build: %bcond_without static_libs # don't build static libraries %bcond_without python2 # CPython 2.x module +%bcond_without crypto # build without tests Summary: The pattern matching swiss knife for malware researchers (and everyone else) Name: yara @@ -20,6 +20,7 @@ URL: http://plusvic.github.io/yara/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool +%{?with_crypto:BuildRequires: openssl-devel} BuildRequires: pcre-devel BuildRequires: pkgconfig BuildRequires: rpmbuild(macros) >= 1.219 @@ -82,6 +83,7 @@ features from your own Python scripts. %{__autoheader} %{__automake} %configure \ + %{__with_without crypto} \ %{!?with_static_libs:--disable-static} %{__make}