%define no_install_post_check_so 1
-%define rel 4
+%define rel 5
%define mname nvidia-legacy-304xx
%define pname xorg-driver-video-%{mname}
Summary: Linux Drivers for nVidia GeForce/Quadro Chips
Patch2: linux-4.0.patch
Patch3: linux-4.10.patch
Patch4: linux-4.11.patch
+Patch5: linux-4.12.patch
URL: http://www.nvidia.com/object/unix.html
BuildRequires: rpmbuild(macros) >= 1.701
%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}}
%patch2 -p1
%patch3 -p1
%patch4 -p0
+%patch5 -p0
%build
%{?with_kernel:%{expand:%build_kernel_packages}}