glusterfs/0127-spec-unpackaged-files-found-for-RHEL-7-client-build.patch
Milind Changire cf62f1947f autobuild v3.12.2-2
Resolves: bz#1264911 bz#1277924 bz#1286820 bz#1360331 bz#1401969
Resolves: bz#1410719 bz#1419438 bz#1426042 bz#1444820 bz#1459101
Resolves: bz#1464150 bz#1464350 bz#1466122 bz#1466129 bz#1467903
Resolves: bz#1468972 bz#1476876 bz#1484446 bz#1492591 bz#1498391
Resolves: bz#1498730 bz#1499865 bz#1500704 bz#1501345 bz#1505570
Resolves: bz#1507361 bz#1507394 bz#1509102 bz#1509191 bz#1509810
Resolves: bz#1509833 bz#1511766 bz#1512470 bz#1512496 bz#1512963
Resolves: bz#1515051 bz#1519076 bz#1519740 bz#1534253 bz#1534530
Signed-off-by: Milind Changire <mchangir@redhat.com>
2018-01-17 02:21:37 -05:00

52 lines
1.7 KiB
Diff

From 09a7493dcf0f88aa47a176ab0372289664578fb7 Mon Sep 17 00:00:00 2001
From: moagrawa <moagrawa@redhat.com>
Date: Mon, 15 Jan 2018 18:21:27 +0530
Subject: [PATCH 127/128] spec: unpackaged files found for RHEL-7 client build
Problem: unpackages files found for RHEL-7 client build
Solution: Update glusterfs.specs.in to exclude unpackage files
Label: DOWNSTREAM ONLY
BUG: 1534530
Change-Id: I761188a6a8447105b53bf3334ded963c645cab5b
Signed-off-by: moagrawa <moagrawa@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/127758
Tested-by: RHGS Build Bot <nigelb@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
---
glusterfs.spec.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index cb273f5..abebb28 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -1219,9 +1219,11 @@ exit 0
%exclude %{_libdir}/pkgconfig/libgfdb.pc
%exclude %{_sbindir}/gluster-setgfid2path
%exclude %{_mandir}/man8/gluster-setgfid2path.8*
+%if ( 0%{?_with_systemd:1} )
%exclude %{_datadir}/glusterfs/scripts/control-cpu-load.sh
%exclude %{_datadir}/glusterfs/scripts/control-mem.sh
%endif
+%endif
%files api
%exclude %{_libdir}/*.so
@@ -2181,8 +2183,8 @@ fi
%endif
%changelog
-* Tue Jan 16 2018 Mohit Agrawal <moagrawa@redhat.com>
-- Exclude control-cpu-load.sh and control-mem.sh from client builds
+* Wed Jan 17 2018 Mohit Agrawal <moagrawa@redhat.com>
+- Exclude control-cpu-load.sh and control-mem.sh for RHEL_7 client builds only (#1534530)
* Wed Dec 20 2017 Milind Changire <mchangir@redhat.com>
- Remove ExclusiveArch directive to help building on non-x86_64 arches (#1527772)
--
1.8.3.1