c460ee
From b3e86a66de224107f6760157a7cb692227e42954 Mon Sep 17 00:00:00 2001
c460ee
From: Shwetha Acharya <sacharya@redhat.com>
c460ee
Date: Mon, 30 Aug 2021 18:54:15 +0530
c460ee
Subject: [PATCH 610/610] glusterfs.spec.in: remove condtionals from tar
c460ee
 dependency (#2734)
c460ee
c460ee
* glusterfs.spec.in: remove condtionals from tar dependency
c460ee
c460ee
The conditional on rhel minor version fails and tar is not
c460ee
marked as required.
c460ee
c460ee
As there is not any universal macro to specify the
c460ee
minor release, removing the conditionals above the
c460ee
"Requires: tar" statement
c460ee
c460ee
with this change irrespective of rhel 8.3 and
c460ee
above, tar will be marked required for geo-rep.
c460ee
c460ee
> Change-Id: Id1e3320a0b1a245fc9cd8c7acb09cc119fca18b8
c460ee
> Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
c460ee
c460ee
Upstream patch: https://github.com/gluster/glusterfs/pull/2734
c460ee
c460ee
BUG: 1901468
c460ee
Change-Id: Id1e3320a0b1a245fc9cd8c7acb09cc119fca18b8
c460ee
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
c460ee
Reviewed-on: https://code.engineering.redhat.com/gerrit/c/rhs-glusterfs/+/280116
c460ee
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
c460ee
Tested-by: RHGS Build Bot <nigelb@redhat.com>
c460ee
---
c460ee
 glusterfs.spec.in | 3 +--
c460ee
 1 file changed, 1 insertion(+), 2 deletions(-)
c460ee
c460ee
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
c460ee
index a9a83b1..8b6646f 100644
c460ee
--- a/glusterfs.spec.in
c460ee
+++ b/glusterfs.spec.in
c460ee
@@ -521,9 +521,8 @@ 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
+
c460ee
 # required for setting selinux bools
c460ee
 %if ( 0%{?rhel} && 0%{?rhel} >= 8 )
c460ee
 Requires(post):      policycoreutils-python-utils
c460ee
-- 
c460ee
1.8.3.1
c460ee