From 4bc3baa72f3dee21bad729d9a00624734f77fc5a Mon Sep 17 00:00:00 2001 From: Pingfan Liu Date: Jan 18 2022 07:16:39 +0000 Subject: spec: add hostname.rpm into Recommends list Resolves: bz2017196 Upstream: Fedora Conflict: None commit c480be7ccf8d63bed81f167bb4da7645f68c52a7 Author: Pingfan Liu Date: Wed Jan 12 19:24:26 2022 +0800 spec: add hostname.rpm into Recommends list kexec-tools runs hostname binary in the case of fence_kdump. Since this is a trival dependency and should not block the kexec-tools installation if non-existent, using weak-dependency to resolve it. Signed-off-by: Pingfan Liu Acked-by: Tao Liu Signed-off-by: Pingfan Liu --- diff --git a/kexec-tools.spec b/kexec-tools.spec index e835ca2..032bd36 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -73,6 +73,7 @@ Requires: dracut-squash >= 050 Requires: ethtool Recommends: zstd Recommends: grubby +Recommends: hostname BuildRequires: make BuildRequires: zlib-devel elfutils-devel glib2-devel bzip2-devel ncurses-devel bison flex lzo-devel snappy-devel libzstd-devel BuildRequires: pkgconfig intltool gettext