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