From: Michael Petlan <mpetlan@xxxxxxxxxx> [redhat] spec: Add bzip2 dependency to perf package Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1957219 RHEL-only description =========== Adding explicit bzip2 dependency for perf tool. The bzip2 is used in perf archive script command, and without bzip2 command it fails, like: $ perf archive tar (child): bzip2: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now With explicit bzip2 dependency we're ok: $ rpm -qp --requires perf-...rpm | grep bzip2 bzip2 Signed-off-by: Michael Petlan <mpetlan@xxxxxxxxxx> diff a/redhat/kernel.spec.template b/redhat/kernel.spec.template --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -853,6 +853,7 @@ It provides the kernel source files common to all builds. %if %{with_perf} %package -n perf Summary: Performance monitoring for the Linux kernel +Requires: bzip2 License: GPLv2 %description -n perf This package contains the perf tool, which enables performance monitoring -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1103 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure