16 |
%if !%simple |
%if !%simple |
17 |
# When updating, please add new ids to ldetect-lst (merge2pcitable.pl) |
# When updating, please add new ids to ldetect-lst (merge2pcitable.pl) |
18 |
%define version 346.35 |
%define version 346.35 |
19 |
%define rel 4 |
%define rel 5 |
20 |
# the highest supported videodrv abi |
# the highest supported videodrv abi |
21 |
%define videodrv_abi 19 |
%define videodrv_abi 19 |
22 |
%endif |
%endif |
121 |
%endif |
%endif |
122 |
# Script for building rpms of arbitrary nvidia installers (needs this .spec appended) |
# Script for building rpms of arbitrary nvidia installers (needs this .spec appended) |
123 |
Source10: nvidia-mgabuild-skel |
Source10: nvidia-mgabuild-skel |
124 |
|
# (tmb) fix drm trace in dmesg |
125 |
|
Patch2: NVIDIA-Linux-x86_64-346.35-kernel-3.18-fix.patch |
126 |
# include xf86vmproto for X_XF86VidModeGetGammaRampSize, fixes build on cooker |
# include xf86vmproto for X_XF86VidModeGetGammaRampSize, fixes build on cooker |
127 |
Patch3: nvidia-settings-include-xf86vmproto.patch |
Patch3: nvidia-settings-include-xf86vmproto.patch |
128 |
%endif |
%endif |
247 |
%endif |
%endif |
248 |
sh %{nsource} --extract-only |
sh %{nsource} --extract-only |
249 |
|
|
250 |
#if !%simple |
%if !%simple |
251 |
#cd %{pkgname} |
cd %{pkgname} |
252 |
#cd .. |
%patch2 -p1 |
253 |
#endif |
cd .. |
254 |
|
%endif |
255 |
|
|
256 |
rm -rf %{pkgname}/usr/src/nv/precompiled |
rm -rf %{pkgname}/usr/src/nv/precompiled |
257 |
|
|