From: Jakub Libosvar <libos...@redhat.com>

ovs-ctl script uses hostname. This patch adds dependency for
rhel systems.

Signed-off-by: Jakub Libosvar <libos...@redhat.com>
Signed-off-by: Russell Bryant <russ...@ovn.org>
---
 AUTHORS.rst                     | 1 +
 rhel/openvswitch-fedora.spec.in | 2 +-
 rhel/openvswitch.spec.in        | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/AUTHORS.rst b/AUTHORS.rst
index 4dde860..39a5f40 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -148,6 +148,7 @@ Ian Campbell                    ian.campb...@citrix.com
 Ian Stokes                      ian.sto...@intel.com
 Ilya Maximets                   i.maxim...@samsung.com
 Isaku Yamahata                  yamah...@valinux.co.jp
+Jakub Libosvar                  libos...@redhat.com
 James P.                        roamp...@gmail.com
 James Page                      james.p...@ubuntu.com
 Jamie Lennox                    jamielen...@gmail.com
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index a1bf1c7..d100f49 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -72,7 +72,7 @@ BuildRequires: dpdk-devel >= 16.11
 Provides: %{name}-dpdk = %{version}-%{release}
 %endif
 
-Requires: openssl iproute module-init-tools
+Requires: openssl hostname iproute module-init-tools
 #Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
 #Requires: kernel >= 3.15.0-0
 
diff --git a/rhel/openvswitch.spec.in b/rhel/openvswitch.spec.in
index 6aa23de..31a535c 100644
--- a/rhel/openvswitch.spec.in
+++ b/rhel/openvswitch.spec.in
@@ -32,7 +32,7 @@ License: ASL 2.0
 Release: 1
 Source: openvswitch-%{version}.tar.gz
 Buildroot: /tmp/openvswitch-rpm
-Requires: logrotate, python >= 2.7, python-six
+Requires: logrotate, hostname, python >= 2.7, python-six
 BuildRequires: python-six
 BuildRequires: openssl-devel
 BuildRequires: checkpolicy, selinux-policy-devel
-- 
2.9.3

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to