[PATCH] Add bzip2 dependency for perf tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=32223307
Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
---
 kernel-tools.spec | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel-tools.spec b/kernel-tools.spec
index a93e789a2caa..6faaa2d17a60 100644
--- a/kernel-tools.spec
+++ b/kernel-tools.spec
@@ -136,6 +136,7 @@ and the supporting documentation.
 
 %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
-- 
2.17.2
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux