]> git.pld-linux.org Git - packages/X11-driver-nvidia-legacy2.git/commitdiff
- unify kernel macros
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 22 Oct 2007 20:24:59 +0000 (20:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    X11-driver-nvidia-legacy2.spec -> 1.1.2.21

X11-driver-nvidia-legacy2.spec

index 227ad1e764e55759ecbe178f4602472532fe3600..50f9184cc42d496c1496fbabb78c7b1efe7a1c50 100644 (file)
@@ -8,6 +8,10 @@
 %bcond_with    verbose         # verbose build (V=1)
 %bcond_with    grsec_kernel    # build for kernel-grsecurity
 #
+%if %{without kernel}
+%undefine      with_dist_kernel
+%endif
+#
 %if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
 %define        alt_kernel      grsecurity
 %endif
@@ -34,9 +38,9 @@ Patch0:               %{name}-GL.patch
 URL:           http://www.nvidia.com/object/unix.html
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.7}
-%endif
 BuildRequires: %{kgcc_package}
 BuildRequires: rpmbuild(macros) >= 1.330
+%endif
 BuildRequires: sed >= 4.0
 BuildConflicts:        XFree86-nvidia
 Requires:      X11-Xserver
This page took 0.040656 seconds and 4 git commands to generate.