]> git.pld-linux.org Git - packages/wl.git/commitdiff
- wrap dkms in userspace bcond
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 1 Mar 2015 13:13:51 +0000 (14:13 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 1 Mar 2015 13:13:51 +0000 (14:13 +0100)
wl.spec

diff --git a/wl.spec b/wl.spec
index 93b675dbc038e2bbd43b462be9892d7ba1db1ef1..2de5f79a49ec53a892acb880617f76753d1b4f8e 100644 (file)
--- 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
 
This page took 0.040672 seconds and 4 git commands to generate.