rpms/nvidia-kmod/F-17 conftest.patch, NONE, 1.1 nvidia-kmod.spec, 1.158, 1.159

Leigh Scott leigh123linux at rpmfusion.org
Tue Feb 5 16:06:02 CET 2013


Author: leigh123linux

Update of /cvs/nonfree/rpms/nvidia-kmod/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv733

Modified Files:
	nvidia-kmod.spec 
Added Files:
	conftest.patch 
Log Message:
* Tue Feb 05 2013 Leigh Scott <leigh123linux at googlemail.com> - 1:304.64-3
- patch for 3.7.6 kernel compile issue


conftest.patch:
 conftest.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE conftest.patch ---
--- a/kernel/conftest.sh
+++ b/kernel/conftest.sh
@@ -1703,7 +1703,7 @@ case "$6" in
                 SUBLEVEL=$(grep "^SUBLEVEL =" $MAKEFILE | cut -d " " -f 3)
 
                 if [ -n "$PATCHLEVEL" -a $PATCHLEVEL -ge 6 \
-                        -a -n "$SUBLEVEL" -a $SUBLEVEL -le 5 ]; then
+                        -a -n "$SUBLEVEL" -a $SUBLEVEL -le 6 ]; then
                     SELECTED_MAKEFILE=Makefile.kbuild
                     RET=0
                 fi


Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/F-17/nvidia-kmod.spec,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- nvidia-kmod.spec	5 Feb 2013 01:30:23 -0000	1.158
+++ nvidia-kmod.spec	5 Feb 2013 15:06:02 -0000	1.159
@@ -3,13 +3,13 @@
 # "buildforkernels newest" macro for just that build; immediately after
 # queuing that build enable the macro again for subsequent builds; that way
 # a new akmod package will only get build when a new one is actually needed
-%define buildforkernels newest
+%define buildforkernels current
 
 Name:          nvidia-kmod
 Epoch:         1
 Version:       304.64
 # Taken over by kmodtool
-Release:       2%{?dist}.6
+Release:       3%{?dist}
 Summary:       NVIDIA display driver kernel module
 Group:         System Environment/Kernel
 License:       Redistributable, no modification permitted
@@ -25,6 +25,7 @@
 
 Source11:       nvidia-kmodtool-excludekernel-filterfile
 Patch0:         3.7_kernel.patch
+Patch1:         conftest.patch
 
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -52,6 +53,7 @@
 do
 pushd nvidiapkg-${arch}
 %patch0 -p1
+%patch1 -p1
 popd
 done
 
@@ -85,6 +87,9 @@
 
 
 %changelog
+* Tue Feb 05 2013 Leigh Scott <leigh123linux at googlemail.com> - 1:304.64-3
+- patch for 3.7.6 kernel compile issue
+
 * Tue Feb 05 2013 Nicolas Chauvet <kwizart at gmail.com> - 1:304.64-2.6
 - Rebuilt for kernel
 


More information about the rpmfusion-commits mailing list