summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Libosvar <libosvar@redhat.com>2017-02-09 12:11:28 +0100
committerRussell Bryant <russell@ovn.org>2017-02-23 16:09:45 -0500
commit25f29e60a2789307a5b39ad932e9c3ba5f098fe5 (patch)
tree9f2d32d0430ccf689b28cedd8bb2469ad05bfbf8
parent0987fd8ccfb272b2b8f3e4de7da794908296046a (diff)
downloadopenvswitch-25f29e60a2789307a5b39ad932e9c3ba5f098fe5.tar.gz
rhel: Add hostname as dependency
ovs-ctl script uses hostname. This patch adds dependency for rhel systems. Signed-off-by: Jakub Libosvar <libosvar@redhat.com> Signed-off-by: Russell Bryant <russell@ovn.org>
-rw-r--r--AUTHORS.rst1
-rw-r--r--rhel/openvswitch-fedora.spec.in2
-rw-r--r--rhel/openvswitch.spec.in2
3 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS.rst b/AUTHORS.rst
index cdb9dc39b..e40643182 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -148,6 +148,7 @@ Ian Campbell Ian.Campbell@citrix.com
Ian Stokes ian.stokes@intel.com
Ilya Maximets i.maximets@samsung.com
Isaku Yamahata yamahata@valinux.co.jp
+Jakub Libosvar libosvar@redhat.com
James P. roampune@gmail.com
James Page james.page@ubuntu.com
Jamie Lennox jamielennox@gmail.com
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index a1bf1c748..d100f4991 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 6aa23de5d..31a535c9f 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