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