From c72212a697710a3e0fc48a6509bca2f402b8b7f0 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Jul 23 2021 20:52:17 +0000 Subject: fix libpcap-devel Build Requirement --- diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index db25b07..7572ccf 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -371,7 +371,7 @@ Requires: rt-setup # BuildRequires: kmod, patch, bash, coreutils, tar, git, which %if 0%{?rhel} == 7 -BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl, make, diffutils, gawk, python-devel, python2-rpm-macros +BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl, make, diffutils, gawk, python-devel, python2-rpm-macros, libcap-devel %else BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk %endif @@ -416,7 +416,7 @@ BuildRequires: zlib-devel binutils-devel %endif %if %{with_selftests} %if 0%{?rhel} == 7 -BuildRequires: libcap-devel libcap-ng-devel llvm-toolset-7.0 numactl-devel rsync +BuildRequires: libcap-ng-devel llvm-toolset-7.0 numactl-devel rsync %else BuildRequires: libcap-devel libcap-ng-devel clang llvm numactl-devel rsync libmnl-devel %endif