7f4c2a
From d9c849a0483f6a6aeaff848101edee2b91878f44 Mon Sep 17 00:00:00 2001
7f4c2a
From: Bala.FA <barumuga@redhat.com>
7f4c2a
Date: Fri, 19 Jun 2015 11:09:53 +0530
7f4c2a
Subject: [PATCH 107/129] build: exclude libgfdb.pc conditionally
7f4c2a
7f4c2a
This patch fixes rhel-5 build failure where libgfdb.pc is not
7f4c2a
applicable.
7f4c2a
7f4c2a
Label: DOWNSTREAM ONLY
7f4c2a
7f4c2a
BUG: 1233486
7f4c2a
Change-Id: Ied3978aa14ff6bd72f25eff9759e501100cb6343
7f4c2a
Signed-off-by: Bala.FA <barumuga@redhat.com>
7f4c2a
Reviewed-on: https://code.engineering.redhat.com/gerrit/51099
7f4c2a
---
7f4c2a
 glusterfs.spec.in |    5 +++++
7f4c2a
 1 files changed, 5 insertions(+), 0 deletions(-)
7f4c2a
7f4c2a
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
7f4c2a
index e4d9d5f..7ee37fa 100644
7f4c2a
--- a/glusterfs.spec.in
7f4c2a
+++ b/glusterfs.spec.in
7f4c2a
@@ -1132,8 +1132,10 @@ fi
7f4c2a
 %if ( 0%{!?_without_tiering:1} && 0%{?_build_server})
7f4c2a
 %{_libdir}/pkgconfig/libgfdb.pc
7f4c2a
 %else
7f4c2a
+%if ( 0%{?rhel} && 0%{?rhel} >= 6 )
7f4c2a
 %exclude %{_libdir}/pkgconfig/libgfdb.pc
7f4c2a
 %endif
7f4c2a
+%endif
7f4c2a
 
7f4c2a
 %files client-xlators
7f4c2a
 %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/cluster/*.so
7f4c2a
@@ -1928,6 +1930,9 @@ end
7f4c2a
 %endif
7f4c2a
 
7f4c2a
 %changelog
7f4c2a
+* Fri Jun 19 2015 Bala.FA <barumuga@redhat.com>
7f4c2a
+- exclude libgfdb.pc conditionally for rhel-5 (#1233486)
7f4c2a
+
7f4c2a
 * Thu Jun 18 2015 Bala.FA <barumuga@redhat.com>
7f4c2a
 - add pretrans check for client-xlators, ganesha and python-gluster
7f4c2a
   sub-packages (#1232641)
7f4c2a
-- 
7f4c2a
1.7.1
7f4c2a