Author: przemal
Update of /cvs/nonfree/rpms/nvidia-340xx-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv1393
Modified Files:
nvidia-340xx-kmod.spec
Removed Files:
3.18_kernel.patch 3.19_kernel.patch
Log Message:
* Wed Jan 28 2015 Przemysław Palacz <pprzemal(a)gmail.com> - 1:340.76-1
- Update to 340.76
- Drop kernel 3.18 patch
- Drop kernel 3.19 patch
- Do not build uvm driver on architectures other than x86_64 (follow main)
Index: nvidia-340xx-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-340xx-kmod/devel/nvidia-340xx-kmod.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- nvidia-340xx-kmod.spec 21 Jan 2015 16:00:02 -0000 1.3
+++ nvidia-340xx-kmod.spec 1 Feb 2015 19:53:42 -0000 1.4
@@ -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
-%global buildforkernels newest
+%global buildforkernels akmod
Name: nvidia-340xx-kmod
Epoch: 1
-Version: 340.65
+Version: 340.76
# Taken over by kmodtool
-Release: 2%{?dist}.2
+Release: 1%{?dist}
Summary: NVIDIA display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -17,8 +17,6 @@
Source11: nvidia-kmodtool-excludekernel-filterfile
Patch0: nv-linux-arm.patch
-Patch1: 3.18_kernel.patch
-Patch2: 3.19_kernel.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -46,8 +44,6 @@
tar --use-compress-program xz -xf
%{_datadir}/%{name}-%{version}/%{name}-%{version}-%{_target_cpu}.tar.xz
# patch loop
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}
@@ -64,12 +60,14 @@
module
popd
%{!?_nv_build_module_instances:
+%ifarch x86_64
pushd _kmod_build_${kernel_version%%___*}/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
+%endif
}
done
@@ -78,7 +76,11 @@
rm -rf $RPM_BUILD_ROOT
for kernel_version in %{?kernel_versions}; do
mkdir -p
$RPM_BUILD_ROOT/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/
+%ifarch x86_64
install -D -m 0755 _kmod_build_${kernel_version%%___*}/{,uvm}/nvidia*.ko \
+%else
+ install -D -m 0755 _kmod_build_${kernel_version%%___*}/nvidia.ko \
+%endif
$RPM_BUILD_ROOT/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/
done
%{?akmod_install}
@@ -89,6 +91,12 @@
%changelog
+* Wed Jan 28 2015 Przemysław Palacz <pprzemal(a)gmail.com> - 1:340.76-1
+- Update to 340.76
+- Drop kernel 3.18 patch
+- Drop kernel 3.19 patch
+- Do not build uvm driver on architectures other than x86_64 (follow main)
+
* Wed Jan 21 2015 Nicolas Chauvet <kwizart(a)gmail.com> - 1:340.65-2.2
- Rebuilt for kernel
--- 3.18_kernel.patch DELETED ---
--- 3.19_kernel.patch DELETED ---