[packages/wl] - wrap dkms in userspace bcond

baggins baggins at pld-linux.org
Sun Mar 1 14:14:04 CET 2015


commit cd0280d06670708d5276f21670052cc17883f282
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Mar 1 14:13:51 2015 +0100

    - wrap dkms in userspace bcond

 wl.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/wl.spec b/wl.spec
index 93b675d..2de5f79 100644
--- a/wl.spec
+++ b/wl.spec
@@ -1,8 +1,13 @@
 # Conditional build:
 %bcond_without	kernel		# don't build kernel modules
 %bcond_with	verbose		# verbose build (V=1)
+%bcond_without	userspace	# don't build userspace programs
 %bcond_with	dkms		# build dkms package
 
+%if %{without userspace}
+%undefine	with_dkms
+%endif
+
 # nothing to be placed to debuginfo package
 %define		_enable_debug_packages	0
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wl.git/commitdiff/cd0280d06670708d5276f21670052cc17883f282



More information about the pld-cvs-commit mailing list