%bcond_without userspace # don't build userspace tools
%bcond_with verbose # verbose build (V=1)
%bcond_with grsec_kernel # build for kernel-grsecurity
-#
+
%ifarch sparc
# kernel modules won't build on sparc32, no I2C in kernel
%undefine with_kernel
%endif
-#
+
%if %{without kernel}
%undefine with_dist_kernel
%endif
-#
%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
%define alt_kernel grsecurity
%endif
-#
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine with_userspace
+%endif
+
%define _rel 55
Summary: DXR3 and H+ driver
Summary(pl): Sterowniki dla DXR3 i H+