]> git.pld-linux.org Git - packages/drbd.git/blobdiff - drbd.spec
- disable userspace for alt kernel
[packages/drbd.git] / drbd.spec
index 515d77cbc4b5b90535e1027e14eea315d20e3889..e75f0e28c1ce5d08fd1b0c90340500160da9a113 100644 (file)
--- a/drbd.spec
+++ b/drbd.spec
@@ -8,16 +8,18 @@
 %bcond_with    verbose         # verbose build (V=1)
 %bcond_with    grsec_kernel    # build for kernel-grsecurity
 #
+%ifarch sparc
+%undefine      with_smp
+%endif
+
 %if %{without kernel}
 %undefine      with_dist_kernel
 %endif
-#
 %if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
 %define        alt_kernel      grsecurity
 %endif
-#
-%ifarch sparc
-%undefine      with_smp
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine      with_userspace
 %endif
 
 %define                _rel    55
This page took 0.064646 seconds and 4 git commands to generate.