Adding 'Requires: hostname'

cloud-init requires hostname command to be present it will stack trace,
according to the BZ #1915616.

Signed-off-by: Eduardo Otubo <otubo@redhat.com>
This commit is contained in:
Eduardo Otubo 2021-02-03 10:10:23 +01:00
parent 1e06a47d15
commit 7606c7e70f

View File

@ -1,6 +1,6 @@
Name: cloud-init
Version: 20.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Cloud instance init scripts
License: ASL 2.0 or GPLv3
URL: http://launchpad.net/cloud-init
@ -60,6 +60,7 @@ BuildRequires: python3-six
# https://bugs.launchpad.net/cloud-init/+bug/1721573
BuildRequires: /usr/bin/dnf
Requires: hostname
Requires: e2fsprogs
Requires: iproute
Requires: python3-libselinux
@ -178,6 +179,9 @@ python3 -m pytest tests/unittests
%changelog
* Wed Feb 03 2021 Eduardo Otubo <otubo@redhat.com> - 20.4-3
- Adding requirement hostname to specfile [bz#1925118]
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild