-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpreamble
22 lines (22 loc) · 1.07 KB
/
preamble
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%if 0%{?req_random_kernel_sources} == 1
PreReq: kernel-%1-devel make gcc
%else
PreReq: kernel-%1-devel = %2 make gcc
%endif
Recommends: nvidia-video-G06 = %(echo %{-v*} | sed -e 's:_.*::')
Recommends: nvidia-gl-G06 = %(echo %{-v*} | sed -e 's:_.*::')
Obsoletes: nvidia-gfx-kmp nvidia-gfxG01-kmp nvidia-gfxG02-kmp nvidia-gfxG03-kmp nvidia-uvm-gfxG03-kmp nvidia-gfxG04-kmp nvidia-gfxG05-kmp
Conflicts: nvidia-gfx-kmp nvidia-gfxG01-kmp nvidia-gfxG02-kmp nvidia-gfxG03-kmp nvidia-uvm-gfxG03-kmp nvidia-gfxG04-kmp nvidia-gfxG05-kmp nvidia-open-driver-G06-kmp nvidia-open-driver-G06-signed-kmp
Provides: nvidia-driver-G06-kmp-%1 = %{-v*}
Provides: nvidia-gfxG06-kmp-%1 = %{-v*}
Obsoletes: nvidia-gfxG06-kmp-%1 < %{-v*}
PreReq: kernel-%1 pciutils perl-Bootloader
Supplements: (kernel-%1 and %name)
BuildRequires: kernel-syms
BuildRequires: modutils
Requires: openssl
Requires: mokutil
# Dracut, modprobe configuration, etc. are actually required at run time, but
# they are not required for manipulating the modules once built (ex. signing
# after building):
Recommends: nvidia-common-G06 = %{version}