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