From 2c3d96621e700f07081c2fdbb7b93f252344a248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 21 Aug 2017 11:15:30 +0200 Subject: [PATCH] spec: make kernel-tools weak dep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The kernel-tools is not available on all arches and Tuned can work without it. Signed-off-by: Jaroslav Škarvada --- tuned.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tuned.spec b/tuned.spec index 6388f82..df67556 100644 --- a/tuned.spec +++ b/tuned.spec @@ -21,9 +21,12 @@ Requires(post): systemd, virt-what Requires(preun): systemd Requires(postun): systemd Requires: python-decorator, dbus-python, pygobject3-base, python-pyudev -Requires: virt-what, python-configobj, ethtool, gawk, kernel-tools, hdparm +Requires: virt-what, python-configobj, ethtool, gawk, hdparm Requires: util-linux, python-perf, dbus, polkit, python-linux-procfs Requires: python-schedutils +%if 0%{?fedora} > 22 || 0%{?rhel} > 7 +Recommends: kernel-tools +%endif %description The tuned package contains a daemon that tunes system settings dynamically.