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