From 9dde6373d9594f5609cd15b5600e71af4a7fff5c9f294664dfc17e516ac4d599 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:16 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-happybase?expand=0&rev=23 --- python-happybase.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-happybase.spec b/python-happybase.spec index 5873c35..6d3bfc7 100644 --- a/python-happybase.spec +++ b/python-happybase.spec @@ -23,7 +23,7 @@ Release: 0 Summary: A Python library to interact with Apache HBase License: MIT Group: Development/Languages/Python -Url: https://github.com/wbolster/happybase +URL: https://github.com/wbolster/happybase Source: https://files.pythonhosted.org/packages/source/h/happybase/happybase-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module thriftpy} @@ -31,9 +31,7 @@ BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx Requires: python-six Requires: python-thriftpy >= 0.3.8 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -64,11 +62,12 @@ rm docs/build/html/.doctrees/environment.pickle %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.rst NEWS.rst README.rst TODO.rst +%license LICENSE.rst +%doc NEWS.rst README.rst TODO.rst %{python_sitelib}/* %files -n python-happybase-doc -%doc LICENSE.rst docs/build/html +%license LICENSE.rst +%doc docs/build/html %changelog