From cd0280d06670708d5276f21670052cc17883f282 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 1 Mar 2015 14:13:51 +0100 Subject: [PATCH] - 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 -- 2.43.0