SPECS (AC-branch): X11-driver-nvidia.spec - hack for desktop kerne...

glen glen at pld-linux.org
Mon Feb 11 18:54:42 CET 2008


Author: glen                         Date: Mon Feb 11 17:54:42 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- hack for desktop kernel having smp only kernel

---- Files affected:
SPECS:
   X11-driver-nvidia.spec (1.78.2.9.2.30 -> 1.78.2.9.2.31) 

---- Diffs:

================================================================
Index: SPECS/X11-driver-nvidia.spec
diff -u SPECS/X11-driver-nvidia.spec:1.78.2.9.2.30 SPECS/X11-driver-nvidia.spec:1.78.2.9.2.31
--- SPECS/X11-driver-nvidia.spec:1.78.2.9.2.30	Mon Jan 28 10:33:20 2008
+++ SPECS/X11-driver-nvidia.spec	Mon Feb 11 18:54:37 2008
@@ -19,6 +19,14 @@
 %undefine	with_userspace
 %endif
 
+%if "%{alt_kernel}" == "desktop"
+%undefine	with_smp
+%undefine	with_up
+%define		smp_kernel	1
+%else
+%define		smp_kernel	0
+%endif
+
 %define		_nv_ver		100.14.19
 %define		_min_x11	6.7.0
 %define		_rel	60
@@ -134,7 +142,11 @@
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.7.7-10
+%if %{smp_kernel}
+%{?with_dist_kernel:%requires_releq_kernel}
+%else
 %{?with_dist_kernel:%requires_releq_kernel_up}
+%endif
 Provides:	X11-driver-nvidia(kernel)
 Obsoletes:	XFree86-nvidia-kernel
 
@@ -328,6 +340,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.78.2.9.2.31  2008-02-11 17:54:37  glen
+- hack for desktop kernel having smp only kernel
+
 Revision 1.78.2.9.2.30  2008-01-28 09:33:20  glen
 - rel 60 (kernel-2.6.16.60-1)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/X11-driver-nvidia.spec?r1=1.78.2.9.2.30&r2=1.78.2.9.2.31&f=u



More information about the pld-cvs-commit mailing list