- avoid kernel BR when building without kernel bcond
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 1 Nov 2005 00:57:11 +0000 (00:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xorg-driver-video-nvidia.spec -> 1.55

xorg-driver-video-nvidia.spec

index 1251b979ef187461954812046501a76e0b28b3c2..3dbd3952c847ec08e0d22d880fec4ac35d71c400 100644 (file)
@@ -50,7 +50,9 @@ Patch2:               %{name}-conftest.patch
 # http://www.minion.de/files/1.0-6629/
 URL:           http://www.nvidia.com/object/linux.html
 BuildRequires: grep
+%if %{with kernel}
 %{?with_dist_kernel:BuildRequires:     kernel-module-build >= 2.6.7}
+%endif
 BuildRequires: %{kgcc_package}
 BuildRequires: rpmbuild(macros) >= 1.213
 BuildRequires: sed >= 4.0
This page took 0.091271 seconds and 4 git commands to generate.