[packages/sysdig] fix userspace deps

glen glen at pld-linux.org
Sun Jul 26 17:00:26 CEST 2015


commit fe7ef0e81756c106e4cc5e2ebab7e95fd3a42455
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Jul 26 18:00:17 2015 +0300

    fix userspace deps

 sysdig.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/sysdig.spec b/sysdig.spec
index 86c7426..d921ee1 100644
--- a/sysdig.spec
+++ b/sysdig.spec
@@ -30,13 +30,15 @@ Group:		Applications/System
 Source0:	https://github.com/draios/sysdig/archive/%{version}/%{pname}-%{version}.tar.gz
 # Source0-md5:	5fe96a3a0fd98b2157a40cb29af41afc
 URL:		http://www.sysdig.org/
+BuildRequires:	rpmbuild(macros) >= 1.701
+%if %{with userspace}
 BuildRequires:	cmake >= 2.8.2
 BuildRequires:	jsoncpp-devel
 BuildRequires:	libstdc++-devel >= 6:4.4
 BuildRequires:	luajit-devel >= 2.0.3
 BuildRequires:	ncurses-devel >= 5.9
-BuildRequires:	rpmbuild(macros) >= 1.701
 BuildRequires:	zlib-devel >= 1.2.8
+%endif
 %{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sysdig.git/commitdiff/fe7ef0e81756c106e4cc5e2ebab7e95fd3a42455



More information about the pld-cvs-commit mailing list