diff --git a/python-py2pack.spec b/python-py2pack.spec index 9ef8fbf..ca31ff5 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -20,12 +20,11 @@ Name: python-py2pack Version: 0.8.3 Release: 0 -Url: https://github.com/openSUSE/py2pack Summary: Generate distribution packages from Python packages on PyPI License: Apache-2.0 Group: Development/Languages/Python +URL: https://github.com/openSUSE/py2pack Source: https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module metaextract} @@ -79,14 +78,13 @@ rm -rf doc/build/html/.{doctrees,buildinfo} %python_uninstall_alternative py2pack %files %{python_files} -%defattr(-,root,root,-) %python_alternative %{_bindir}/py2pack %{python_sitelib}/py2pack-%{version}-py*.egg-info %{python_sitelib}/py2pack/ %files -n %{name}-doc -%defattr(-,root,root,-) -%doc AUTHORS LICENSE +%license LICENSE +%doc AUTHORS %doc doc/build/html/ %changelog