diff --git a/0001-Cancel-sphinx-version-limit.patch b/0001-Cancel-sphinx-version-limit.patch new file mode 100644 index 0000000..658c1a0 --- /dev/null +++ b/0001-Cancel-sphinx-version-limit.patch @@ -0,0 +1,25 @@ +From 8b42ef5a9db2d816c9e749237b9681d1aba0bea2 Mon Sep 17 00:00:00 2001 +From: bzg1107 +Date: Tue, 4 Jan 2022 22:43:54 +0800 +Subject: [PATCH] Cancel sphinx version limit + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 3f39730..6acc10a 100644 +--- a/setup.py ++++ b/setup.py +@@ -14,7 +14,7 @@ Breathe is an extension to reStructuredText and Sphinx to be able to read and + render `Doxygen `__ xml output. + ''' + +-requires = ['Sphinx>=3.0,<3.6', 'docutils>=0.12', 'six>=1.9'] ++requires = ['Sphinx>=3.0', 'docutils>=0.12', 'six>=1.9'] + + if sys.version_info < (3, 5): + print('ERROR: Sphinx requires at least Python 3.5 to run.') +-- +2.30.0 + diff --git a/python-breathe.spec b/python-breathe.spec index 27d5c9b..ecc02d5 100644 --- a/python-breathe.spec +++ b/python-breathe.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-breathe Version: 4.29.0 -Release: 1 +Release: 2 Summary: Sphinx Doxygen renderer License: BSD URL: https://github.com/michaeljones/breathe Source0: https://files.pythonhosted.org/packages/df/0f/a1946bbc0731ac02ca191b11ca18c634310dd8d37121c5e21b06960e2f28/breathe-4.29.0.tar.gz +Patch0: 0001-Cancel-sphinx-version-limit.patch BuildArch: noarch %description @@ -18,7 +19,7 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-sphinx BuildRequires: python3-docutils -BuildRequires: python3-six +BuildRequires: python3-six python3-pip %description -n python3-breathe Breathe is an extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output. @@ -30,7 +31,7 @@ Provides: python3-breathe-doc Breathe is an extension to reStructuredText and Sphinx to be able to read and render Doxygen xml output. %prep -%autosetup -n breathe-4.29.0 +%autosetup -n breathe-4.29.0 -p1 %build %py3_build @@ -73,6 +74,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Sat Jan 8 2022 baizhonggui - 4.29.0-2 +- fix build error + * Mon Aug 23 2021 OpenStack_SIG - 4.29.0-1 - Package update to 4.29.0