15
0

- 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
This commit is contained in:
Sascha Peilicke
2013-04-05 07:36:51 +00:00
committed by Git OBS Bridge
parent 5291dca22d
commit abe2499ca2
2 changed files with 9 additions and 2 deletions

View File

@@ -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