]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blobdiff - xorg-driver-video-nvidia.spec
- disable debug packages if kernel only build
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
index 91fc5a6417f7b8e6b10efbaf07dd43e268331ead..5c2c6b7b064cd992549a8a7d8e04aca1e7ecfcdb 100644 (file)
@@ -9,24 +9,29 @@
 %if "%{_alt_kernel}" != "%{nil}"
 %undefine      with_userspace
 %endif
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define                _enable_debug_packages  0
+%endif
 
 %define                pname           xorg-driver-video-nvidia
-%define                rel             1
+%define                rel             4
 
 Summary:       Linux Drivers for nVidia GeForce/Quadro Chips
 Summary(pl.UTF-8):     Sterowniki do kart graficznych nVidia GeForce/Quadro
 Name:          %{pname}%{_alt_kernel}
-Version:       173.08
+Version:       169.12
 Release:       %{rel}%{?with_multigl:.mgl}
 License:       nVidia Binary
 Group:         X11
 Source0:       http://http.download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}-pkg1.run
-# Source0-md5: b809290b6c4ed638a29b850be8d19e7d
+# Source0-md5: c1d45a150a90e6a11da21623493a628e
 Source1:       http://http.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg2.run
-# Source1-md5: 7cc3f6319df6fa62cf1666347241c22a
+# Source1-md5: 8d29f4541f35e10ef06e566c57500cc1
 Source2:       %{pname}-xinitrc.sh
 Patch0:                X11-driver-nvidia-GL.patch
 Patch1:                X11-driver-nvidia-desktop.patch
+Patch2:                NVIDIA_kernel-169.12-2286310.diff
 URL:           http://www.nvidia.com/object/unix.html
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
@@ -164,6 +169,9 @@ rm -rf NVIDIA-Linux-x86*-%{version}-pkg*
 %endif
 %patch0 -p1
 %patch1 -p1
+%if "%{_kernel_ver}" >= "2.6.25"
+%patch2 -p0
+%endif
 echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/src/nv/Makefile.kbuild
 
 %build
This page took 0.07738 seconds and 4 git commands to generate.