From 2b3582f4bc7af8729dc327f050ed84aed6d1156a268545c80a7c6d3ae8c809d6 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:23:15 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-apidoc?expand=0&rev=4 --- python-sphinxcontrib-apidoc.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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