]> git.pld-linux.org Git - packages/osquery.git/commitdiff
add system_cppnetlib bcond (disabled due cipher/options local changes)
authorElan Ruusamäe <glen@delfi.ee>
Sat, 1 Aug 2015 20:13:39 +0000 (23:13 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 1 Aug 2015 20:13:39 +0000 (23:13 +0300)
osquery.spec

index 142cac6d0b436c87a873009e640eec57727ca210..03e111ca740ae6cc7f0a525de4c5913ffdbabea5 100644 (file)
@@ -1,3 +1,9 @@
+# NOTE:
+# - cpp-netlib is patched with cihper/options: https://github.com/osquery/third-party/commit/8b39e224380a2f9492f00727268bff8e9cda3106
+#
+# Conditional build:
+%bcond_with    system_cppnetlib                # use system cpp-netlib
+
 Summary:       osquery is an operating system instrumentation toolchain
 Name:          osquery
 Version:       1.5.1
@@ -17,7 +23,7 @@ BuildRequires:        boost-devel >= 1.55.0
 BuildRequires: byacc
 BuildRequires: bzip2-devel
 BuildRequires: cmake
-BuildRequires: cpp-netlib-devel >= 0.11.0
+%{?with_system_cppnetlib:BuildRequires:        cpp-netlib-devel >= 0.11.0}
 BuildRequires: cryptsetup-devel >= 1.6.7
 BuildRequires: device-mapper-devel
 BuildRequires: doxygen
@@ -64,7 +70,7 @@ network connections, browser plugins, hardware events or file hashes.
 %setup -q -a1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
+%{?with_system_cppnetlib:%patch3 -p1}
 
 mv third-party-*/* third-party
 
This page took 0.079735 seconds and 4 git commands to generate.