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