commit 9bc5268f6a26499773769107a1424dbfb7442397
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Feb 18 14:01:03 2022 +0100
Add _without_nvidia_kmod_patches conditional
nvidia-kmod.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index 4bf4787..f908794 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -43,7 +43,7 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
--filterf
%setup -T -c
tar --use-compress-program xz -xf
%{_datadir}/%{name}-%{version}/%{name}-%{version}-%{_target_cpu}.tar.xz
# patch loop
-%if 0%{?fedora} && 0%{?fedora} > 35
+%if 0%{!?_without_nvidia_kmod_patches:1}
%patch0 -p0
%patch1 -p1
%endif
Show replies by date