rpms/nvidia-kmod/devel nvidia-kmod.spec,1.151,1.152

Nicolas Chauvet kwizart at rpmfusion.org
Sat Jan 25 11:40:48 CET 2014


Author: kwizart

Update of /cvs/nonfree/rpms/nvidia-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv24096

Modified Files:
	nvidia-kmod.spec 
Log Message:
Disable uvm - simplify patch



Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/devel/nvidia-kmod.spec,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -r1.151 -r1.152
--- nvidia-kmod.spec	21 Jan 2014 21:02:13 -0000	1.151
+++ nvidia-kmod.spec	25 Jan 2014 10:40:48 -0000	1.152
@@ -9,7 +9,7 @@
 Epoch:         1
 Version:       331.38
 # Taken over by kmodtool
-Release:       4%{?dist}
+Release:       5%{?dist}
 Summary:       NVIDIA display driver kernel module
 Group:         System Environment/Kernel
 License:       Redistributable, no modification permitted
@@ -51,16 +51,10 @@
 %setup -q -c -T -a 0
 
 # patch loop
-#for arch in x86_64 i686 armv7hl
-for arch in armv7hl
-do
-pushd nvidiapkg-${arch}
-%patch0 -p1
-popd
-done
 for arch in x86_64 i686 armv7hl
 do
 pushd nvidiapkg-${arch}
+%patch0 -p1
 %patch1 -p1
 popd
 done
@@ -79,12 +73,14 @@
         %{?_nv_build_module_instances:NV_BUILD_MODULE_INSTANCES=%{?_nv_build_module_instances}} \
         module
   popd
+%{!?_nv_build_module_instances:
   pushd _kmod_build_${kernel_version%%___*}/kernel/uvm
     make %{?_smp_mflags} \
         KERNEL_UNAME="${kernel_version%%___*}" SYSSRC="${kernel_version##*___}" \
         IGNORE_CC_MISMATCH=1 IGNORE_XEN_PRESENCE=1 IGNORE_PREEMPT_RT_PRESENCE=1 \
         module
   popd
+}
 done
 
 
@@ -103,6 +99,10 @@
 
 
 %changelog
+* Sat Jan 25 2014 Nicolas Chauvet <kwizart at gmail.com> - 1:331.38-5
+- Disable uvm when NV_BUILD_MODULE_INSTANCES is set
+- Simplify patch
+
 * Tue Jan 21 2014 Leigh Scott <leigh123linux at googlemail.com> - 1:331.38-4
 - make more changes to 3.13 kernel patch
 


More information about the rpmfusion-commits mailing list