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