diff --git a/python-sphinxcontrib-apidoc.spec b/python-sphinxcontrib-apidoc.spec index b104c0d..40ac25b 100644 --- a/python-sphinxcontrib-apidoc.spec +++ b/python-sphinxcontrib-apidoc.spec @@ -23,22 +23,21 @@ Release: 0 Summary: A Sphinx extension for running 'sphinx-apidoc' on each build License: BSD-2-Clause Group: Development/Languages/Python -Url: http://www.sphinx-doc.org/ +URL: http://www.sphinx-doc.org/ Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-apidoc/sphinxcontrib-apidoc-%{version}.tar.gz BuildRequires: %{python_module pbr} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sphinxcontrib} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Sphinx >= 1.6.0 +Requires: python-pbr +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Sphinx >= 1.6.0} BuildRequires: %{python_module pbr} BuildRequires: %{python_module pytest >= 3.0} # /SECTION -BuildRequires: fdupes -Requires: python-Sphinx >= 1.6.0 -Requires: python-pbr -BuildArch: noarch - %python_subpackages %description @@ -65,7 +64,8 @@ export PBR_VERSION=%{version} %python_exec setup.py test %files %{python_files} -%doc AUTHORS ChangeLog LICENSE README.rst +%license LICENSE +%doc AUTHORS ChangeLog README.rst %{python_sitelib}/* %changelog