From daf3500f07c72712156123cb4d31d16ca34552484fe2bdb081082c8f4b302557 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:23:35 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-programoutput?expand=0&rev=9 --- python-sphinxcontrib-programoutput.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/python-sphinxcontrib-programoutput.spec b/python-sphinxcontrib-programoutput.spec index f2b34aa..fd1a700 100644 --- a/python-sphinxcontrib-programoutput.spec +++ b/python-sphinxcontrib-programoutput.spec @@ -24,20 +24,19 @@ Release: 0 Summary: Sphinx extension to include program output License: BSD-2-Clause Group: Development/Languages/Python -Url: http://sphinxcontrib-programoutput.readthedocs.org/ +URL: http://sphinxcontrib-programoutput.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sphinxcontrib} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Sphinx +Requires: python-sphinxcontrib +BuildArch: noarch %if %{with test} BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module pytest} %endif -Requires: python-Sphinx -Requires: python-sphinxcontrib -BuildArch: noarch - %python_subpackages %description @@ -63,8 +62,8 @@ py.test-%{$python_bin_suffix} %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst LICENSE README.rst +%license LICENSE +%doc CHANGES.rst README.rst %{python_sitelib}/sphinxcontrib/programoutput/ %{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*-nspkg.pth %{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*.egg-info