From 6f61490f08630fc6734cc1e8b012540237570cf56a2aed1b3dbf1d36ca8b61b5 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 13 Mar 2013 09:57:16 +0000 Subject: [PATCH] - 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 --- python-happybase.changes | 7 +++++++ python-happybase.spec | 10 ++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/python-happybase.changes b/python-happybase.changes index 75ecd88..f982cdf 100644 --- a/python-happybase.changes +++ b/python-happybase.changes @@ -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 diff --git a/python-happybase.spec b/python-happybase.spec index 669e2e7..1e77cb4 100644 --- a/python-happybase.spec +++ b/python-happybase.spec @@ -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