233933
From 968e5e698a070f9e6905a86c9c8338c36fcfa339 Mon Sep 17 00:00:00 2001
233933
From: moagrawa <moagrawa@redhat.com>
233933
Date: Mon, 15 Jan 2018 18:21:27 +0530
233933
Subject: [PATCH 20/52] spec: unpackaged files found for RHEL-7 client build
233933
233933
Problem: unpackages files found for RHEL-7 client build
233933
233933
Solution: Update glusterfs.specs.in to exclude unpackage files
233933
Label: DOWNSTREAM ONLY
233933
233933
Change-Id: I761188a6a8447105b53bf3334ded963c645cab5b
233933
Signed-off-by: moagrawa <moagrawa@redhat.com>
233933
Reviewed-on: https://code.engineering.redhat.com/gerrit/127758
233933
Tested-by: RHGS Build Bot <nigelb@redhat.com>
233933
Reviewed-by: Milind Changire <mchangir@redhat.com>
233933
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
233933
---
233933
 glusterfs.spec.in | 2 ++
233933
 1 file changed, 2 insertions(+)
233933
233933
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
233933
index 208a82d..ec06176 100644
233933
--- a/glusterfs.spec.in
233933
+++ b/glusterfs.spec.in
233933
@@ -1141,8 +1141,10 @@ exit 0
233933
 %exclude %{_sbindir}/gluster-setgfid2path
233933
 %exclude %{_sbindir}/glusterd
233933
 %exclude %{_sbindir}/snap_scheduler.py
233933
+%if ( 0%{?_with_systemd:1} )
233933
 %exclude %{_datadir}/glusterfs/scripts/control-cpu-load.sh
233933
 %exclude %{_datadir}/glusterfs/scripts/control-mem.sh
233933
+%endif
233933
 %exclude %{_datadir}/glusterfs/scripts/post-upgrade-script-for-quota.sh
233933
 %exclude %{_datadir}/glusterfs/scripts/pre-upgrade-script-for-quota.sh
233933
 %exclude %{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh
233933
-- 
233933
1.8.3.1
233933