From 5c77dd3db7634a6d90d32cdc4566a13806e4d1c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 21 Aug 2017 11:23:08 +0200 Subject: [PATCH] kernel-tools made weak dependency --- tuned.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tuned.spec b/tuned.spec index ab2890f..90a206c 100644 --- a/tuned.spec +++ b/tuned.spec @@ -1,7 +1,7 @@ Summary: A dynamic adaptive system tuning daemon Name: tuned Version: 2.8.0 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Source: https://jskarvad.fedorapeople.org/tuned/download/tuned-%{version}.tar.bz2 URL: http://www.tuned-project.org/ @@ -11,9 +11,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 # patch taken from upstream (issue #59) Patch0: tuned-2.8.0-plugin-disk-traceback-fix.patch @@ -382,6 +385,9 @@ fi %{_mandir}/man7/tuned-profiles-compat.7* %changelog +* Mon Aug 21 2017 Jaroslav Škarvada - 2.8.0-5 +- kernel-tools made weak dependency + * Thu Jul 27 2017 Fedora Release Engineering - 2.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild