233933
From f76d2370160c50a1f59d08a03a444254c289da60 Mon Sep 17 00:00:00 2001
233933
From: Milind Changire <mchangir@redhat.com>
233933
Date: Fri, 7 Dec 2018 16:18:07 +0530
233933
Subject: [PATCH 14/52] build: spec file conflict resolution
233933
233933
Missed conflict resolution for removing references to
233933
gluster.conf.example as mentioned in patch titled:
233933
packaging: gratuitous dependencies on rsyslog-mm{count,jsonparse}
233933
by Kaleb
233933
233933
References to hook scripts S31ganesha-start.sh and
233933
S31ganesha-reset.sh got lost in the downstream only
233933
patch conflict resolution.
233933
233933
Commented blanket reference to %{_sharedsstatedir}/glusterd/*
233933
in section %files server to avoid rpmbuild warning related to
233933
multiple references to hook scripts and other files under
233933
/var/lib/glusterd.
233933
233933
Label: DOWNSTREAM ONLY
233933
233933
Change-Id: I9d409f1595ab985ed9f79d9d4f4298877609ba17
233933
Signed-off-by: Milind Changire <mchangir@redhat.com>
233933
Reviewed-on: https://code.engineering.redhat.com/gerrit/70535
233933
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
233933
Tested-by: Rajesh Joseph <rjoseph@redhat.com>
233933
---
233933
 glusterfs.spec.in | 21 +--------------------
233933
 1 file changed, 1 insertion(+), 20 deletions(-)
233933
233933
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
233933
index a1ff6e0..8c57f57 100644
233933
--- a/glusterfs.spec.in
233933
+++ b/glusterfs.spec.in
233933
@@ -96,9 +96,7 @@
233933
 
233933
 # disable server components forcefully as rhel <= 6
233933
 %if ( 0%{?rhel} )
233933
-%if ( "%{?dist}" == ".el6rhs" ) || ( "%{?dist}" == ".el7rhs" ) || ( "%{?dist}" == ".el7rhgs" )
233933
-%global _without_server %{nil}
233933
-%else
233933
+%if (!(( "%{?dist}" == ".el6rhs" ) || ( "%{?dist}" == ".el7rhs" ) || ( "%{?dist}" == ".el7rhgs" )))
233933
 %global _without_server --without-server
233933
 %endif
233933
 %endif
233933
@@ -836,23 +834,6 @@ install -D -p -m 0644 extras/glusterfs-georep-logrotate \
233933
     %{buildroot}%{_sysconfdir}/logrotate.d/glusterfs-georep
233933
 %endif
233933
 
233933
-%if ( 0%{!?_without_syslog:1} )
233933
-%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 6 )
233933
-install -D -p -m 0644 extras/gluster-rsyslog-7.2.conf \
233933
-    %{buildroot}%{_sysconfdir}/rsyslog.d/gluster.conf.example
233933
-%endif
233933
-
233933
-%if ( 0%{?rhel} && 0%{?rhel} == 6 )
233933
-install -D -p -m 0644 extras/gluster-rsyslog-5.8.conf \
233933
-    %{buildroot}%{_sysconfdir}/rsyslog.d/gluster.conf.example
233933
-%endif
233933
-
233933
-%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
233933
-install -D -p -m 0644 extras/logger.conf.example \
233933
-    %{buildroot}%{_sysconfdir}/glusterfs/logger.conf.example
233933
-%endif
233933
-%endif
233933
-
233933
 %if ( 0%{!?_without_server:1} )
233933
 touch %{buildroot}%{_sharedstatedir}/glusterd/glusterd.info
233933
 touch %{buildroot}%{_sharedstatedir}/glusterd/options
233933
-- 
233933
1.8.3.1
233933