diff --git a/python-sphinxcontrib-websupport.spec b/python-sphinxcontrib-websupport.spec index 26cc3a2..34dcf74 100644 --- a/python-sphinxcontrib-websupport.spec +++ b/python-sphinxcontrib-websupport.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Sphinx API for Web Apps License: BSD-2-Clause Group: Development/Languages/Python -Url: http://sphinx-doc.org/ +URL: http://sphinx-doc.org/ Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-websupport/sphinxcontrib-websupport-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sphinxcontrib} @@ -32,14 +32,13 @@ BuildRequires: python-rpm-macros Requires: python-Jinja2 Requires: python-six Requires: python-sphinxcontrib +BuildArch: noarch %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Recommends: python-Sphinx +Suggests: python-SQLAlchemy Suggests: python-Whoosh Suggests: python-xapian -Suggests: python-SQLAlchemy %endif -BuildArch: noarch - %python_subpackages %description @@ -57,8 +56,8 @@ documentation into your Web application. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES LICENSE README.rst +%license LICENSE +%doc CHANGES README.rst %dir %{python_sitelib}/sphinxcontrib/ %{python_sitelib}/sphinxcontrib/websupport/ %{python_sitelib}/sphinxcontrib_websupport-%{version}-py*-nspkg.pth