On Wed, Oct 28, 2020 at 03:43:58AM -0000, GitLab Bridge on behalf of dzickusrh wrote:
From: Don Zickus <dzickus(a)redhat.com>
While debugging LTO issues, I disabled kernel-selftests
temporarily. This exposed an issue in turbostat that
required libcap to compile. Add the BuildRequires to
the spec file.
I don't expect this scenario to happen at all. This
fix is for completeness and less headaches in the future.
Signed-off-by: Don Zickus <dzickus(a)redhat.com>
---
redhat/kernel.spec.template | 1 +
1 file changed, 1 insertion(+)
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index 7cbfb9c139eb..2d15d843e86b 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -499,6 +499,7 @@ BuildRequires: numactl-devel
%endif
%if %{with_tools}
BuildRequires: gettext ncurses-devel
+BuildRequires: libcap-devel libcap-ng-devel
%ifnarch s390x
BuildRequires: pciutils-devel
%endif
(...)
Acked-by: Herton R. Krzesinski <herton(a)redhat.com>
--
[]'s
Herton