c460ee
From cb7e72bce8b6a46605753b72919c1c839ecb4cc9 Mon Sep 17 00:00:00 2001
c460ee
From: root <root@sacharya.remote.csb>
c460ee
Date: Thu, 3 Jun 2021 12:08:24 +0530
c460ee
Subject: [PATCH 548/584] Add tar as dependency to geo-rep rpm for RHEL 8.3 and
c460ee
 above
c460ee
c460ee
Reason: from RHEL 8.3, tar is not bundled by default
c460ee
c460ee
>Fixes: #1849
c460ee
>Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
c460ee
>Change-Id: Ic1424e0550cef6a78e3e9e7b42665ab01016436f
c460ee
Upstream Patch: https://github.com/gluster/glusterfs/pull/1850
c460ee
c460ee
BUG: 1901468
c460ee
Change-Id: Ic1424e0550cef6a78e3e9e7b42665ab01016436f
c460ee
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
c460ee
Reviewed-on: https://code.engineering.redhat.com/gerrit/c/rhs-glusterfs/+/244896
c460ee
Tested-by: RHGS Build Bot <nigelb@redhat.com>
c460ee
Reviewed-by: Srijan Sivakumar <ssivakum@redhat.com>
c460ee
---
c460ee
 glusterfs.spec.in | 5 +++++
c460ee
 1 file changed, 5 insertions(+)
c460ee
c460ee
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
c460ee
index 2be7677..424f4ab 100644
c460ee
--- a/glusterfs.spec.in
c460ee
+++ b/glusterfs.spec.in
c460ee
@@ -521,6 +521,9 @@ Requires:         python%{_pythonver}-gluster = %{version}-%{release}
c460ee
 Requires:         rsync
c460ee
 Requires:         util-linux
c460ee
 Requires:         %{name}-libs%{?_isa} = %{version}-%{release}
c460ee
+%if ( 0%{?rhel} && ( ( 0%{?rhel} == 8 && 0%{?rhel_minor_version} >= 3 ) || 0%{?rhel} >= 9 ) )
c460ee
+Requires:         tar
c460ee
+%endif
c460ee
 # required for setting selinux bools
c460ee
 %if ( 0%{?rhel} && 0%{?rhel} >= 8 )
c460ee
 Requires(post):      policycoreutils-python-utils
c460ee
@@ -1982,6 +1985,8 @@ fi
c460ee
 %endif
c460ee
 
c460ee
 %changelog
c460ee
+* Thu Nov 26 2020 Shwetha K Acharya <sacharya@redhat.com>
c460ee
+- Add tar as dependency to georeplication rpm for RHEL version >= 8.3
c460ee
 
c460ee
 * Mon May 11 2020 Sunny Kumar <sunkumar@redhat.com>
c460ee
 - added requires policycoreutils-python-utils on rhel8 for geo-replication
c460ee
-- 
c460ee
1.8.3.1
c460ee