summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2012-09-05 10:09:07 +0200
committerVijay Bellur <vbellur@redhat.com>2012-09-05 07:48:29 -0700
commit95e1c03d1572e6a84ee3d45bc3a48b001a708982 (patch)
tree919b1217b06520aceeef2224cc8ef426b9cd9e21
parente1d24d45c56fd841c0a9a0a2ad32b08ebb2cd5b1 (diff)
build: Don't use python-ctypes on SLES
There is no python-ctypes on SLES 11, so don't require is for building the RPM. Change-Id: I3399318c1d2a603bb8d228ed4f1b5cbcb7a3a9c3 BUG: 854503 CC: Jörg Petersen <joerg.h.petersen@googlemail.com> Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/3906 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--glusterfs.spec.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index ccd79ae39..49bf19c77 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -51,9 +51,10 @@ BuildRequires: bison flex
BuildRequires: gcc make automake libtool
BuildRequires: ncurses-devel readline-devel openssl-devel
BuildRequires: libxml2-devel
-BuildRequires: python-ctypes
%if 0%{?suse_version}
BuildRequires: python-devel
+%else
+BuildRequires: python-ctypes
%endif
BuildRequires: openssl-devel >= 1.0
@@ -425,6 +426,9 @@ fi
%{_libdir}/*.so
%changelog
+* Wed Sep 05 2012 Niels de Vos <ndevos@redhat.com>
+- Don't use python-ctypes on SLES (from Jörg Petersen)
+
* Tue Jul 10 2012 Niels de Vos <ndevos@redhat.com>
- Include extras/clear_xattrs.sh in the glusterfs-server sub-package