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(a)kernel.org>
---
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