From: Tomas Glozar <[email protected]>

redhat/kernel.spec.template: Require kernel-tools-libs in rtla

Upstream Status: RHEL-only

rtla has a dependency on libcpupower.so.1 when build on
%{cpupowerarchs}, which pulls kernel-tools-libs as Requires.

Add explicit Requires for the subpackage as required by rpminspect's
rpmdep check.

Fixes: d17a51e6052d ("redhat/kernel.spec.template: Link rtla against in-tree 
libcpupower")
Signed-off-by: Tomas Glozar <[email protected]>

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
@@ -1293,6 +1293,9 @@ Epoch: %{gemini}
 Summary: Real-Time Linux Analysis tools
 Requires: libtraceevent
 Requires: libtracefs
+%ifarch %{cpupowerarchs}
+Requires: %{package_name}-tools-libs = %{version}-%{release}
+%endif
 %description -n rtla
 The rtla meta-tool includes a set of commands that aims to analyze
 the real-time properties of Linux. Instead of testing Linux as a black box,

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3584

-- 
_______________________________________________
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]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to