fix install failed with python-sphinx 1.8.4

This commit is contained in:
lyn1001 2022-08-17 09:16:19 +08:00
parent 428783f5f3
commit c7ed044f5a
2 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff -Nur a/setup.py b/setup.py
--- a/setup.py 2019-12-09 00:36:58.000000000 +0800
+++ b/setup.py 2022-08-16 14:05:40.513781439 +0800
@@ -2,7 +2,7 @@
from setuptools import setup, find_packages
-requires = ['blockdiag>=1.5.0', 'actdiag>=0.5.3', 'Sphinx>=2.0']
+requires = ['blockdiag>=1.5.0', 'actdiag>=0.5.3', 'Sphinx>=1.8']
setup(
name='sphinxcontrib-actdiag',

View File

@ -1,11 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-sphinxcontrib-actdiag
Version: 2.0.0
Release: 1
Release: 2
Summary: Sphinx "actdiag" extension
License: BSD
URL: https://github.com/blockdiag/sphinxcontrib-actdiag
Source0: https://files.pythonhosted.org/packages/77/41/bd984d307acd34514d3f0eb0a2ffebd02b03ddb51b41e3358128f205d2aa/sphinxcontrib-actdiag-2.0.0.tar.gz
Patch0: fix-install-failed-with-python-sphinx-1.8.4.patch
BuildArch: noarch
Requires: python3-blockdiag
@ -70,5 +71,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Thu Dec 31 2020 Python_Bot <Python_Bot@openeuler.org>
* Wed Aug 17 2022 liyanan <liyanan32@h-partners.com> - 2.0.0-2
- fix install failed with python-sphinx 1.8.4
* Thu Dec 31 2020 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
- Package Spec generated