forked from pool/python-sphinxcontrib-apidoc
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-apidoc?expand=0&rev=4
This commit is contained in:
parent
d7a9a17cb2
commit
2b3582f4bc
@ -23,22 +23,21 @@ Release: 0
|
|||||||
Summary: A Sphinx extension for running 'sphinx-apidoc' on each build
|
Summary: A Sphinx extension for running 'sphinx-apidoc' on each build
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-apidoc/sphinxcontrib-apidoc-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module pbr}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module sphinxcontrib}
|
BuildRequires: %{python_module sphinxcontrib}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-Sphinx >= 1.6.0
|
||||||
|
Requires: python-pbr
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module Sphinx >= 1.6.0}
|
BuildRequires: %{python_module Sphinx >= 1.6.0}
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module pbr}
|
||||||
BuildRequires: %{python_module pytest >= 3.0}
|
BuildRequires: %{python_module pytest >= 3.0}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
|
||||||
Requires: python-Sphinx >= 1.6.0
|
|
||||||
Requires: python-pbr
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -65,7 +64,8 @@ export PBR_VERSION=%{version}
|
|||||||
%python_exec setup.py test
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS ChangeLog LICENSE README.rst
|
%license LICENSE
|
||||||
|
%doc AUTHORS ChangeLog README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user