diff --git a/python-sphinx.spec b/python-sphinx.spec index 8af8f67e60dc4cffe9f8851dfb191381b2eed380..1d083d7ef3509368e4899360e0b0b5400c318cde 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -1,6 +1,6 @@ Name: python-sphinx Version: 3.1.2 -Release: 1 +Release: 2 Epoch: 1 Summary: Python documentation generator License: BSD and Public Domain and Python and (MIT or GPLv2) @@ -115,21 +115,21 @@ the Python docs: snippets and inclusion of appropriately formatted docstrings. -%package doc -Summary: Documentation for %{name} -License: BSD -Recommends: python3-sphinx = %{epoch}:%{version}-%{release} +%package help +Summary:Documentation for %{name} +Requires: python(Sphinx) = %{?epoch}:%{version}-%{release} +Provides: python-sphinx-doc python-sphinx-latex +Obsoletes: python-sphinx-doc < %{?epoch}:%{version}-%{release} +Obsoletes: python-sphinx-latex < %{?epoch}:%{version}-%{release} -%description doc -Sphinx is a tool that makes it easy to create intelligent and -beautiful documentation for Python projects (or other documents -consisting of multiple reStructuredText sources), written by Georg -Brandl. It was originally created to translate the new Python -documentation, but has now been cleaned up in the hope that it will be -useful to many other projects. +%description help +This package contains help documentation in reST and HTML formats. -This package contains documentation in reST and HTML formats. +%package locale +Summary:Locale files for python-sphinx +%description locale +This package contains locale files for Sphinx. %prep %autosetup -n Sphinx-%{version} -p1