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