!58 Fix build error for sphinx 7.0
From: @lyn1001 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
c980c92289
12
Fix-build-error-for-sphinx-7.0.patch
Normal file
12
Fix-build-error-for-sphinx-7.0.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nur a/docs/docsite/_themes/sphinx_rtd_theme/layout.html b/docs/docsite/_themes/sphinx_rtd_theme/layout.html
|
||||||
|
--- a/docs/docsite/_themes/sphinx_rtd_theme/layout.html 2021-10-11 23:18:55.616846800 +0800
|
||||||
|
+++ b/docs/docsite/_themes/sphinx_rtd_theme/layout.html 2023-08-03 11:26:18.125607871 +0800
|
||||||
|
@@ -70,7 +70,7 @@
|
||||||
|
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
|
{# CSS #}
|
||||||
|
- <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
|
||||||
|
+ <link rel="stylesheet" href="{{ pathto('_static/', styles) }}" type="text/css" />
|
||||||
|
<link rel="stylesheet" href="{{ pathto('_static/ansible.css', 1) }}" type="text/css" />
|
||||||
|
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
|
||||||
|
{%- for css in css_files %}
|
||||||
@ -2,7 +2,7 @@
|
|||||||
Name: ansible
|
Name: ansible
|
||||||
Summary: SSH-based configuration management, deployment, and task execution system
|
Summary: SSH-based configuration management, deployment, and task execution system
|
||||||
Version: 2.9.27
|
Version: 2.9.27
|
||||||
Release: 2
|
Release: 3
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Source0: https://releases.ansible.com/ansible/%{name}-%{version}.tar.gz
|
Source0: https://releases.ansible.com/ansible/%{name}-%{version}.tar.gz
|
||||||
@ -17,6 +17,7 @@ Patch2: ansible-2.9.6-disable-test_build_requirement_from_path_no_version.patch
|
|||||||
Patch3: fix-python-3.9-compatibility.patch
|
Patch3: fix-python-3.9-compatibility.patch
|
||||||
Patch4: ansible-2.9.23-sphinx4.patch
|
Patch4: ansible-2.9.23-sphinx4.patch
|
||||||
Patch5: hostname-module-support-openEuler.patch
|
Patch5: hostname-module-support-openEuler.patch
|
||||||
|
Patch6: Fix-build-error-for-sphinx-7.0.patch
|
||||||
|
|
||||||
Provides: ansible-python3 = %{version}-%{release}
|
Provides: ansible-python3 = %{version}-%{release}
|
||||||
Obsoletes: ansible-python3 < %{version}-%{release}
|
Obsoletes: ansible-python3 < %{version}-%{release}
|
||||||
@ -215,6 +216,9 @@ make PYTHON=/usr/bin/python3 tests-py3
|
|||||||
%{python3_sitelib}/ansible_test
|
%{python3_sitelib}/ansible_test
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 3 2023 liyanan <thistleslyn@163.com> - 2.9.27-3
|
||||||
|
- Fix build error for sphinx 7.0
|
||||||
|
|
||||||
* Fri Apr 29 2022 wangkai <wangkai385@h-partners.com> - 2.9.27-2
|
* Fri Apr 29 2022 wangkai <wangkai385@h-partners.com> - 2.9.27-2
|
||||||
- Hostname module support openEuler and remove python-nose
|
- Hostname module support openEuler and remove python-nose
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user