- Install documetation

- Run testsuite
- Fix runtime dependencies, needs python-thrift

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-happybase?expand=0&rev=2
This commit is contained in:
Sascha Peilicke 2013-03-13 09:57:16 +00:00 committed by Git OBS Bridge
parent 0cce4916f3
commit 6f61490f08
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 13 09:52:35 UTC 2013 - speilicke@suse.com
- Install documetation
- Run testsuite
- Fix runtime dependencies, needs python-thrift
-------------------------------------------------------------------
Wed Mar 13 09:39:35 UTC 2013 - dmueller@suse.com

View File

@ -24,7 +24,9 @@ Url: https://github.com/wbolster/happybase
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/h/happybase/happybase-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-distribute
BuildRequires: python-thrift
Requires: python-thrift
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%else
@ -38,13 +40,17 @@ HappyBase is a developer-friendly Python library to interact with Apache HBase.
%setup -q -n happybase-%{version}
%build
CFLAGS="%{optflags}" python setup.py build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc LICENSE.rst README.rst
%{python_sitelib}/*
%changelog