summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshavardhana <fharshav@redhat.com>2011-11-07 15:34:04 -0800
committerAnand Avati <avati@gluster.com>2011-11-23 20:51:55 -0800
commit1b9bee028114dc8a1f0d744b1cc9318eefbfa01d (patch)
tree90b8e8b7fae5129158d29590107c43cc8cd41ff1
parentedf9551b38c18be0dab7230c75547f18c2d09747 (diff)
rpm: fix rpmbuild for opensuse
Change-Id: I8adb8d63b0c219d214a6d4cb1d3e12d4d5bc0b2b BUG: 2925 Signed-off-by: Harshavardhana <fharshav@redhat.com> Reviewed-on: http://review.gluster.com/684 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@gluster.com>
-rw-r--r--glusterfs.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 8fe91ea28e2..95af41d3cd5 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -37,6 +37,9 @@ Requires(postun): /sbin/service
BuildRequires: bison flex
BuildRequires: gcc make
+%if 0%{?suse_version}
+BuildRequires: python-devel
+%endif
%define _prefix /opt/%{name}/%{version}
%description