From 43d94d347612b85a4cbae4b415a412ae2ca19f14 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Mon, 21 Oct 2019 13:36:57 -0400 Subject: Tweak some build requires The gcc-plugin-devel was a noble experiment that doesn't seem to be something we'll shipp anytime soon. Remove it. Building the headers now requires rsync --- kernel.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index 16faf33f2..6ced12699 100644 --- a/kernel.spec +++ b/kernel.spec @@ -404,11 +404,14 @@ Requires: kernel-modules-uname-r = %{KVERREL}%{?variant} BuildRequires: kmod, patch, bash, tar, git-core BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex -BuildRequires: net-tools, hostname, bc, elfutils-devel, gcc-plugin-devel +BuildRequires: net-tools, hostname, bc, elfutils-devel %if 0%{?fedora} # Used to mangle unversioned shebangs to be Python 3 BuildRequires: /usr/bin/pathfix.py %endif +%if %{with_headers} +BuildRequires: rsync +%endif %if %{with_doc} BuildRequires: xmlto, asciidoc, python3-sphinx %endif -- cgit