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