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