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