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