summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
Diffstat (limited to 'kernel.spec')
-rwxr-xr-xkernel.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel.spec b/kernel.spec
index 733fa5577..b5bcc5786 100755
--- a/kernel.spec
+++ b/kernel.spec
@@ -745,9 +745,10 @@ Source4000: README.rst
Patch1: patch-%{rpmversion}-redhat.patch
Patch2: secureboot_merge_fix.patch
+%endif
+
Patch3: gcc11-plugins-fix.patch
Patch4: aarch64build.patch
-%endif
# empty final patch to facilitate testing of kernel patches
Patch999999: linux-kernel-test.patch
@@ -1251,9 +1252,11 @@ cd linux-%{KVERREL}
ApplyOptionalPatch patch-%{rpmversion}-redhat.patch
ApplyOptionalPatch secureboot_merge_fix.patch
+%endif
+
ApplyOptionalPatch gcc11-plugins-fix.patch
ApplyOptionalPatch aarch64build.patch
-%endif
+
ApplyOptionalPatch linux-kernel-test.patch