[ovs-dev] [PATCH v2 1/2] rhel: Add hostname as dependency

Russell Bryant russell at ovn.org
Thu Feb 23 21:06:16 UTC 2017


From: Jakub Libosvar <libosvar at redhat.com>

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

Signed-off-by: Jakub Libosvar <libosvar at redhat.com>
Signed-off-by: Russell Bryant <russell at 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.Campbell at citrix.com
 Ian Stokes                      ian.stokes at intel.com
 Ilya Maximets                   i.maximets at samsung.com
 Isaku Yamahata                  yamahata at valinux.co.jp
+Jakub Libosvar                  libosvar at redhat.com
 James P.                        roampune at gmail.com
 James Page                      james.page at ubuntu.com
 Jamie Lennox                    jamielennox at 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



More information about the dev mailing list