From b0fb6eb3071ce45a8964423237577d1d9b9605d9 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Wed, 20 May 2015 09:34:26 -0400 Subject: glusterfs.spec.in: python-gluster should be 'noarch' Change-Id: Ic4f498ce87a5a7f21b637da1b63a290b9fe89b66 BUG: 1219954 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/10846 Reviewed-by: Humble Devassy Chirammal Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Niels de Vos --- glusterfs.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/glusterfs.spec.in b/glusterfs.spec.in index f988d4702bd..dd799ce677f 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -415,6 +415,10 @@ This package provides the base GlusterFS libraries %package -n python-gluster Summary: GlusterFS python library Group: Development/Tools +%if ( ! ( 0%{?rhel} && 0%{?rhel} < 6 || 0%{?sles_version} ) ) +# EL5 does not support noarch sub-packages +BuildArch: noarch +%endif Requires: python %description -n python-gluster @@ -1199,6 +1203,9 @@ fi %changelog +* Wed May 20 2015 Kaleb S. KEITHLEY +- python-gluster should be 'noarch' (#1219954) + * Wed May 20 2015 Kaleb S. KEITHLEY - move libgf{db,changelog}.pc from -api-devel to -devel (#1223385) -- cgit