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