]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia-legacy-390xx.git/commitdiff
- apply kernel fix only if building kernel module, rel 4 auto/th/xorg-driver-video-nvidia-legacy-390xx-390.147-4
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Apr 2022 19:56:12 +0000 (21:56 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Apr 2022 19:56:12 +0000 (21:56 +0200)
xorg-driver-video-nvidia-legacy-390xx.spec

index b3d3162685395bc5c56bd329dab6118de58f958b..d8be9e18186f18cc1b4d44846c01ba47928ab690 100644 (file)
@@ -29,7 +29,7 @@ exit 1
 
 %define                no_install_post_check_so 1
 
-%define                rel     3
+%define                rel     4
 %define                pname   xorg-driver-video-nvidia-legacy-390xx
 Summary:       Linux Drivers for nVidia GeForce/Quadro Chips
 Summary(hu.UTF-8):     Linux meghajtók nVidia GeForce/Quadro chipekhez
@@ -312,7 +312,9 @@ rm -rf NVIDIA-Linux-x86*-%{version}*
 %endif
 %patch0 -p1
 %patch1 -p1
+%if %{with kernel}
 %patch2 -p1
+%endif
 echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
 
 %build
This page took 0.226716 seconds and 4 git commands to generate.