From 6b16191790fee65a8e3db15a9cacd6b0f2427507 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Thu, 18 Aug 2022 15:54:17 +0800 Subject: [PATCH] fix install failed with python-sphinx --- fix-install-failed-with-python-sphinx.patch | 25 +++++++++++++++++++++ python-sphinxcontrib-seqdiag.spec | 10 ++++++--- 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 fix-install-failed-with-python-sphinx.patch diff --git a/fix-install-failed-with-python-sphinx.patch b/fix-install-failed-with-python-sphinx.patch new file mode 100644 index 0000000..6365879 --- /dev/null +++ b/fix-install-failed-with-python-sphinx.patch @@ -0,0 +1,25 @@ +From bfe01eeb2ede5652cc9a4f1471c0497c1297e9b3 Mon Sep 17 00:00:00 2001 +From: starlet-dx <15929766099@163.com> +Date: Thu, 18 Aug 2022 14:35:45 +0800 +Subject: [PATCH 1/1] fix install failed with python-sphinx + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index dc0174a..97ac7b0 100644 +--- a/setup.py ++++ b/setup.py +@@ -2,7 +2,7 @@ + + from setuptools import setup, find_packages + +-requires = ['blockdiag>=1.5.0', 'seqdiag>=0.9.3', 'Sphinx>=2.0'] ++requires = ['blockdiag>=1.5.0', 'seqdiag>=0.9.3', 'Sphinx>=1.8'] + + setup( + name='sphinxcontrib-seqdiag', +-- +2.30.0 + diff --git a/python-sphinxcontrib-seqdiag.spec b/python-sphinxcontrib-seqdiag.spec index 97f7368..a0b0101 100644 --- a/python-sphinxcontrib-seqdiag.spec +++ b/python-sphinxcontrib-seqdiag.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-sphinxcontrib-seqdiag Version: 2.0.0 -Release: 1 +Release: 2 Summary: Sphinx "seqdiag" extension License: BSD URL: https://github.com/blockdiag/sphinxcontrib-seqdiag Source0: https://files.pythonhosted.org/packages/ed/35/2840fc985760ea5dd170b5e08a20cdb681a3e53431861e8190fa3adbfa48/sphinxcontrib-seqdiag-2.0.0.tar.gz +Patch0: fix-install-failed-with-python-sphinx.patch BuildArch: noarch Requires: python3-blockdiag @@ -36,7 +37,7 @@ A sphinx extension for embedding sequence diagram using seqdiag. %prep -%autosetup -n sphinxcontrib-seqdiag-2.0.0 +%autosetup -n sphinxcontrib-seqdiag-2.0.0 -p1 %build %py3_build @@ -76,5 +77,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue Jan 05 2021 Python_Bot +* Thu Aug 18 2022 yaoxin - 2.0.0-2 +- fix install failed with python-sphinx + +* Tue Jan 05 2021 Python_Bot - 2.0.0-1 - Package Spec generated