21ab4e
From 81e00086938ad8f2b2d49afddfdcb90fe14c0896 Mon Sep 17 00:00:00 2001
21ab4e
From: Jiffin Tony Thottan <jthottan@redhat.com>
21ab4e
Date: Wed, 21 Jun 2017 18:53:07 +0530
21ab4e
Subject: [PATCH 525/525] build: exclude glusterfssharedstorage.service and
21ab4e
 mount-shared-storage.sh from client builds
21ab4e
21ab4e
Label: DOWNSTREAM ONLY
21ab4e
21ab4e
Change-Id: I7d76ba0742b5c6a44505eb883eacda0c91efbe51
21ab4e
BUG: 1335090
21ab4e
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
21ab4e
Reviewed-on: https://code.engineering.redhat.com/gerrit/109684
21ab4e
Reviewed-by: Milind Changire <mchangir@redhat.com>
21ab4e
Tested-by: Milind Changire <mchangir@redhat.com>
21ab4e
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
21ab4e
---
21ab4e
 glusterfs.spec.in | 7 +++++++
21ab4e
 1 file changed, 7 insertions(+)
21ab4e
21ab4e
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
21ab4e
index 0d33e2b..d546b38 100644
21ab4e
--- a/glusterfs.spec.in
21ab4e
+++ b/glusterfs.spec.in
21ab4e
@@ -1042,6 +1042,7 @@ exit 0
21ab4e
 %exclude %{_datadir}/glusterfs/scripts/eventsdash.py*
21ab4e
 %if ( 0%{?_with_systemd:1} )
21ab4e
 %exclude %{_unitdir}/glustereventsd.service
21ab4e
+%exclude %_init_glusterfssharedstorage
21ab4e
 %else
21ab4e
 %exclude %{_sysconfdir}/init.d/glustereventsd
21ab4e
 %endif
21ab4e
@@ -1090,6 +1091,9 @@ exit 0
21ab4e
 %exclude %{_sbindir}/glusterd
21ab4e
 %exclude %{_sbindir}/snap_scheduler.py
21ab4e
 %exclude %{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh
21ab4e
+%if ( 0%{?_with_systemd:1} )
21ab4e
+%exclude %{_libexecdir}/glusterfs/mount-shared-storage.sh
21ab4e
+%endif
21ab4e
 %exclude %{_sbindir}/conf.py*
21ab4e
 %if 0%{?_tmpfilesdir:1}
21ab4e
 %exclude %{_tmpfilesdir}/gluster.conf
21ab4e
@@ -2072,6 +2076,9 @@ end
21ab4e
 %endif
21ab4e
 
21ab4e
 %changelog
21ab4e
+* Wed Jun 21 2017 Jiffin Tony Thottan <jthottan@redhat.com>
21ab4e
+- Exclude glusterfssharedstorage.service and mount-shared-storage.sh from client builds
21ab4e
+
21ab4e
 * Fri Jun 20 2017 Jiffin Tony Thottan <jthottan@redhat.com>
21ab4e
 - Add glusterfssharedstorage.service systemd file
21ab4e
 
21ab4e
-- 
21ab4e
1.8.3.1
21ab4e