]> git.pld-linux.org Git - packages/yara.git/commitdiff
--with-crypto to enable deterministic build auto/th/yara-3.4.0-2
authorElan Ruusamäe <glen@delfi.ee>
Mon, 27 Jul 2015 08:53:11 +0000 (11:53 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 27 Jul 2015 08:53:11 +0000 (11:53 +0300)
yara.spec

index 828cb8d05d14f8c01ef2844ad786a0bdccdb74d4..72c77c4ffaa2b3fbd497dd7077255d1fdaeaa450 100644 (file)
--- 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}
 
This page took 0.049142 seconds and 4 git commands to generate.