From 2cc7d6fc70864c90a3ed847695b91673812a5427 Mon Sep 17 00:00:00 2001 From: zhanliwen Date: Tue, 4 Aug 2020 16:30:03 +0800 Subject: [PATCH 1/2] add locale --- python-sphinx.spec | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index 8af8f67..3c59403 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -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 -- Gitee From d324707e79236feba01a3b5aaf3cfbe877939a03 Mon Sep 17 00:00:00 2001 From: zhanliwen Date: Tue, 4 Aug 2020 16:34:34 +0800 Subject: [PATCH 2/2] add locale --- python-sphinx.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index 3c59403..1d083d7 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) -- Gitee