Blob Blame History Raw
From 0b6a517722d67cce085b57a9f2d827ef9bff8cd7 Mon Sep 17 00:00:00 2001
From: Soumya Koduri <skoduri@redhat.com>
Date: Fri, 18 Nov 2016 12:47:06 +0530
Subject: [PATCH 180/206] build: Add dependency on netstat for
 glusterfs-ganesha pkg

portblock resource-agent needs netstat command but this dependency
should have been ideally added to resource-agents package. But the
fixes (bug1395594, bug1395596) are going to be available only
in the future RHEL 6.9 and RHEL 7.4 releases. Hence as an interim
workaround, we agreed to add this dependency for glusterfs-ganesha package.

label : DOWNSTREAM ONLY

BUG: 1395574
Change-Id: I6ac1003103755d7534dd079c821bbaacd8dd94b8
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/90529
Reviewed-by: Jiffin Thottan <jthottan@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
---
 glusterfs.spec.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 91ed50e..cc797b4 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -400,6 +400,7 @@ Requires:         cman, pacemaker, corosync
 %if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 5 )
 # we need portblock resource-agent in 3.9.5 and later.
 Requires:         resource-agents >= 3.9.5
+Requires:         net-tools
 %endif
 
 %description ganesha
@@ -2045,6 +2046,9 @@ end
 %endif
 
 %changelog
+* Fri Nov 18 2016 Soumya Koduri <skoduri@redhat.com>
+- As an interim fix add dependency on netstat(/net-tools) for glusterfs-ganesha package (#1395574)
+
 * Fri Nov 11 2016 Soumya Koduri <skoduri@redhat.com>
 - Add dependency on portblock resource agent for ganesha package (#1278336)
 - Fix incorrect Requires for portblock resource agent (#1278336)
-- 
2.9.3