From: Don Zickus <[email protected]>

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 <[email protected]>
---
 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
-- 
GitLab
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to