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