Author: leigh123linux
Update of /cvs/nonfree/rpms/nvidia-340xx-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv23411
Modified Files:
nvidia-340xx-kmod.spec
Log Message:
* Fri Jul 31 2015 Leigh Scott <leigh123linux(a)googlemail.com> - 1:340.76-3
- add missing obsoletes
Index: nvidia-340xx-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-340xx-kmod/devel/nvidia-340xx-kmod.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- nvidia-340xx-kmod.spec 30 Jul 2015 08:04:28 -0000 1.30
+++ nvidia-340xx-kmod.spec 31 Jul 2015 12:17:40 -0000 1.31
@@ -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 current
Name: nvidia-340xx-kmod
Epoch: 1
Version: 340.76
# Taken over by kmodtool
-Release: 2%{?dist}.19
+Release: 3%{?dist}
Summary: NVIDIA display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -30,7 +30,7 @@
%{!?kernels:BuildRequires:
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
# kmodtool does its magic here
-%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
--filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels
"%{?kernels}"} 2>/dev/null) }
+%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
--filterfile %{SOURCE11} --obsolete-name nvidia --obsolete-version "1:340.1000"
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null) }
%description
The nvidia %{version} display driver kernel module for kernel %{kversion}.
@@ -40,7 +40,7 @@
# error out if there was something wrong with kmodtool
%{?kmodtool_check}
# print kmodtool output for debugging purposes:
-kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterfile
%{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels
"%{?kernels}"} 2>/dev/null
+kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterfile
%{SOURCE11} --obsolete-name nvidia --obsolete-version "1:340.1000"
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
%setup -T -c
tar --use-compress-program xz -xf
%{_datadir}/%{name}-%{version}/%{name}-%{version}-%{_target_cpu}.tar.xz
# patch loop
@@ -93,6 +93,9 @@
%changelog
+* Fri Jul 31 2015 Leigh Scott <leigh123linux(a)googlemail.com> - 1:340.76-3
+- add missing obsoletes
+
* Thu Jul 30 2015 Nicolas Chauvet <kwizart(a)gmail.com> - 1:340.76-2.19
- Rebuilt for kernel