From 6dd13f775332ed262c10f0edd9447bf8b9acf20f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 22 Jul 2020 10:43:18 +0200 Subject: [PATCH] spec: make hdparm dependency weak, because it's not available on s390x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- tuned.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tuned.spec b/tuned.spec index c1572d5..a986710 100644 --- a/tuned.spec +++ b/tuned.spec @@ -81,13 +81,12 @@ Recommends: dmidecode # BuildRequires for 'make test' BuildRequires: dbus-python, pygobject3-base Requires: dbus-python, pygobject3-base -%if 0%{?fedora} > 22 || 0%{?rhel} > 7 -Recommends: dmidecode %endif -%endif -Requires: virt-what, ethtool, gawk, hdparm +Requires: virt-what, ethtool, gawk Requires: util-linux, dbus, polkit %if 0%{?fedora} > 22 || 0%{?rhel} > 7 +Recommends: dmidecode +Recommends: hdparm Recommends: kernel-tools %endif %if 0%{?rhel} > 7