Blob Blame History Raw
From 81e00086938ad8f2b2d49afddfdcb90fe14c0896 Mon Sep 17 00:00:00 2001
From: Jiffin Tony Thottan <jthottan@redhat.com>
Date: Wed, 21 Jun 2017 18:53:07 +0530
Subject: [PATCH 525/525] build: exclude glusterfssharedstorage.service and
 mount-shared-storage.sh from client builds

Label: DOWNSTREAM ONLY

Change-Id: I7d76ba0742b5c6a44505eb883eacda0c91efbe51
BUG: 1335090
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/109684
Reviewed-by: Milind Changire <mchangir@redhat.com>
Tested-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
---
 glusterfs.spec.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 0d33e2b..d546b38 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -1042,6 +1042,7 @@ exit 0
 %exclude %{_datadir}/glusterfs/scripts/eventsdash.py*
 %if ( 0%{?_with_systemd:1} )
 %exclude %{_unitdir}/glustereventsd.service
+%exclude %_init_glusterfssharedstorage
 %else
 %exclude %{_sysconfdir}/init.d/glustereventsd
 %endif
@@ -1090,6 +1091,9 @@ exit 0
 %exclude %{_sbindir}/glusterd
 %exclude %{_sbindir}/snap_scheduler.py
 %exclude %{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh
+%if ( 0%{?_with_systemd:1} )
+%exclude %{_libexecdir}/glusterfs/mount-shared-storage.sh
+%endif
 %exclude %{_sbindir}/conf.py*
 %if 0%{?_tmpfilesdir:1}
 %exclude %{_tmpfilesdir}/gluster.conf
@@ -2072,6 +2076,9 @@ end
 %endif
 
 %changelog
+* Wed Jun 21 2017 Jiffin Tony Thottan <jthottan@redhat.com>
+- Exclude glusterfssharedstorage.service and mount-shared-storage.sh from client builds
+
 * Fri Jun 20 2017 Jiffin Tony Thottan <jthottan@redhat.com>
 - Add glusterfssharedstorage.service systemd file
 
-- 
1.8.3.1