From: Jan Rękorajski Date: Sun, 1 Mar 2015 13:13:51 +0000 (+0100) Subject: - wrap dkms in userspace bcond X-Git-Tag: auto/th/wl-6.30.223.248-5~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fwl.git;a=commitdiff_plain;h=cd0280d06670708d5276f21670052cc17883f282 - wrap dkms in userspace bcond --- 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