SPECS: X11-driver-nvidia-legacy.spec - %{_alt_kernel} support

sparky sparky at pld-linux.org
Mon Nov 13 18:13:09 CET 2006


Author: sparky                       Date: Mon Nov 13 17:13:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- %{_alt_kernel} support

---- Files affected:
SPECS:
   X11-driver-nvidia-legacy.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/X11-driver-nvidia-legacy.spec
diff -u SPECS/X11-driver-nvidia-legacy.spec:1.33 SPECS/X11-driver-nvidia-legacy.spec:1.34
--- SPECS/X11-driver-nvidia-legacy.spec:1.33	Mon Nov 13 13:20:58 2006
+++ SPECS/X11-driver-nvidia-legacy.spec	Mon Nov 13 18:13:03 2006
@@ -35,7 +35,7 @@
 URL:		http://www.nvidia.com/object/linux.html
 BuildRequires:	%{kgcc_package}
 #BuildRequires:	X11-devel >= %{_min_x11}	# disabled for now
-%{?with_dist_kernel:BuildRequires:	kernel-module-build >= 3:2.6.7}
+%{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.7}
 BuildRequires:	rpmbuild(macros) >= 1.326
 BuildRequires:	sed >= 4.0
 BuildConflicts:	XFree86-nvidia
@@ -120,7 +120,7 @@
 %description progs -l pl
 Narzędzia do zarządzania kartami graficznymi nVidia.
 
-%package -n kernel-video-nvidia-legacy
+%package -n kernel%{_alt_kernel}-video-nvidia-legacy
 Summary:	nVidia kernel module for nVidia Architecture support
 Summary(de):	Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung
 Summary(pl):	Moduł jądra dla obsługi kart graficznych nVidia
@@ -132,20 +132,20 @@
 %{?with_dist_kernel:%requires_releq_kernel_up}
 Provides:	X11-driver-nvidia(kernel)
 Obsoletes:	XFree86-nvidia-kernel
-Obsoletes:	kernel-video-nvidia < 1.0.7174
-Conflicts:	kernel-video-nvidia
+Obsoletes:	kernel%{_alt_kernel}-video-nvidia < 1.0.7174
+Conflicts:	kernel%{_alt_kernel}-video-nvidia
 
-%description -n kernel-video-nvidia-legacy
+%description -n kernel%{_alt_kernel}-video-nvidia-legacy
 nVidia Architecture support for Linux kernel.
 
-%description -n kernel-video-nvidia-legacy -l de
+%description -n kernel%{_alt_kernel}-video-nvidia-legacy -l de
 Die nVidia-Architektur-Unterstützung für den Linux-Kern.
 
-%description -n kernel-video-nvidia-legacy -l pl
+%description -n kernel%{_alt_kernel}-video-nvidia-legacy -l pl
 Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez
 sterownik nVidii dla Xorg/XFree86.
 
-%package -n kernel-smp-video-nvidia-legacy
+%package -n kernel%{_alt_kernel}-smp-video-nvidia-legacy
 Summary:	nVidia kernel module for nVidia Architecture support
 Summary(de):	Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung
 Summary(pl):	Moduł jądra dla obsługi kart graficznych nVidia
@@ -156,16 +156,16 @@
 %{?with_dist_kernel:%requires_releq_kernel_smp}
 Provides:	X11-driver-nvidia(kernel)
 Obsoletes:	XFree86-nvidia-kernel
-Obsoletes:	kernel-smp-video-nvidia < 1.0.7174
-Conflicts:	kernel-smp-video-nvidia
+Obsoletes:	kernel%{_alt_kernel}-smp-video-nvidia < 1.0.7174
+Conflicts:	kernel%{_alt_kernel}-smp-video-nvidia
 
-%description -n kernel-smp-video-nvidia-legacy
+%description -n kernel%{_alt_kernel}-smp-video-nvidia-legacy
 nVidia Architecture support for Linux kernel SMP.
 
-%description -n kernel-smp-video-nvidia-legacy -l de
+%description -n kernel%{_alt_kernel}-smp-video-nvidia-legacy -l de
 Die nVidia-Architektur-Unterstützung für den Linux-Kern SMP.
 
-%description -n kernel-smp-video-nvidia-legacy -l pl
+%description -n kernel%{_alt_kernel}-smp-video-nvidia-legacy -l pl
 Obsługa architektury nVidia dla jądra Linuksa SMP. Pakiet wymagany
 przez sterownik nVidii dla Xorg/XFree86.
 
@@ -254,16 +254,16 @@
 
 %postun	-p /sbin/ldconfig
 
-%post	-n kernel-video-nvidia-legacy
+%post	-n kernel%{_alt_kernel}-video-nvidia-legacy
 %depmod %{_kernel_ver}
 
-%postun	-n kernel-video-nvidia-legacy
+%postun	-n kernel%{_alt_kernel}-video-nvidia-legacy
 %depmod %{_kernel_ver}
 
-%post	-n kernel-smp-video-nvidia-legacy
+%post	-n kernel%{_alt_kernel}-smp-video-nvidia-legacy
 %depmod %{_kernel_ver}smp
 
-%postun	-n kernel-smp-video-nvidia-legacy
+%postun	-n kernel%{_alt_kernel}-smp-video-nvidia-legacy
 %depmod %{_kernel_ver}smp
 
 %files
@@ -292,12 +292,12 @@
 %attr(755,root,root) %{_libdir}/modules/drivers/nvidia_drv.o
 
 %if %{with kernel}
-%files -n kernel-video-nvidia-legacy
+%files -n kernel%{_alt_kernel}-video-nvidia-legacy
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/*.ko*
 
 %if %{with smp} && %{with dist_kernel}
-%files -n kernel-smp-video-nvidia-legacy
+%files -n kernel%{_alt_kernel}-smp-video-nvidia-legacy
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}smp/misc/*.ko*
 %endif
@@ -323,6 +323,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2006/11/13 17:13:03  sparky
+- %{_alt_kernel} support
+
 Revision 1.33  2006/11/13 12:20:58  sparky
 - increase rpmbuild(macros) BR
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/X11-driver-nvidia-legacy.spec?r1=1.33&r2=1.34&f=u



More information about the pld-cvs-commit mailing list