From abe2499ca206883deb58e74fe134f73b3835637be3ba0449bb4d6524cab7f09f Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 5 Apr 2013 07:36:51 +0000 Subject: [PATCH] - Define python_sitelib to fix SLE_11_SP1 build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-happybase?expand=0&rev=4 --- python-happybase.changes | 5 +++++ python-happybase.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-happybase.changes b/python-happybase.changes index f982cdf..c00147a 100644 --- a/python-happybase.changes +++ b/python-happybase.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 5 07:39:14 UTC 2013 - speilicke@suse.com + +- Define python_sitelib to fix SLE_11_SP1 build + ------------------------------------------------------------------- Wed Mar 13 09:52:35 UTC 2013 - speilicke@suse.com diff --git a/python-happybase.spec b/python-happybase.spec index 1e77cb4..6b19f2d 100644 --- a/python-happybase.spec +++ b/python-happybase.spec @@ -13,15 +13,16 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-happybase Version: 0.4 Release: 0 -License: MIT Summary: A developer-friendly Python library to interact with Apache HBase -Url: https://github.com/wbolster/happybase +License: MIT Group: Development/Languages/Python +Url: https://github.com/wbolster/happybase Source: http://pypi.python.org/packages/source/h/happybase/happybase-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-distribute @@ -29,6 +30,7 @@ BuildRequires: python-thrift Requires: python-thrift BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif