]> git.pld-linux.org Git - packages/drbd.git/commitdiff
- disable userspace for alt kernel
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 22 Oct 2007 20:41:53 +0000 (20:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drbd.spec -> 1.90.4.15

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.029927 seconds and 4 git commands to generate.