From: Coiby Xu <coxu(a)redhat.com>
redhat: drop unneeded build-time dependency gcc-plugin-devel
gcc-plugin-devel was added as a build-time dependency because
CONFIG_GCC_PLUGINS was enabled in commit 4f367b12148d ("redhat/configs:
Enable CONFIG_GCC_PLUGINS on ARK").
Later commit a310e189d2bb ("redhat/configs: Disable CONFIG_GCC_PLUGINS")
disabled CONFIG_GCC_PLUGINS, thus now gcc-plugin-devel is no longer
needed for building the kernel.
Fixes: a310e189d2bb ("redhat/configs: Disable CONFIG_GCC_PLUGINS")
Signed-off-by: Coiby Xu <coxu(a)redhat.com>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -665,7 +665,6 @@ BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison,
flex, gcc-c++
BuildRequires: net-tools, hostname, bc, elfutils-devel
BuildRequires: dwarves
BuildRequires: python3-devel
-BuildRequires: gcc-plugin-devel
BuildRequires: kernel-rpm-macros
# glibc-static is required for a consistent build environment (specifically
# CONFIG_CC_CAN_LINK_STATIC=y).
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2656