Compare commits

..

No commits in common. "52fb80f643f2fd4ab64cb956650826553ebfaf3f" and "710f5fb650c52c0662cc93cfdbab6804be9d763e" have entirely different histories.

5 changed files with 15 additions and 607 deletions

BIN
Sphinx-3.5.2.tar.gz Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,13 +1,12 @@
Name: python-sphinx
Version: 4.4.0
Release: 2
Version: 3.5.2
Release: 1
Epoch: 1
Summary: Python documentation generator
License: BSD and MIT
URL: http://sphinx-doc.org/
Source0: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
Patch6000: backport-html-Updated-jQuery-version-from-3.5.1-to-3.6.0.patch
Patch1: sphinx-test_theming.diff
BuildArch: noarch
@ -226,21 +225,6 @@ export PATH=%{buildroot}%{_bindir}:$PATH
%{_mandir}/man1/*
%changelog
* Thu Jul 20 2023 shixuantong <shixuantong1@huawei.com> - 1:4.4.0-2
- html: Updated jQuery version from 3.5.1 to 3.6.0
* Thu Oct 27 2022 xu_ping <xuping33@h-partners.com> - 1:4.4.0-1
- Upgrade 4.4.0
* Wed Jan 12 2022 shixuantong <shixuantong@huawei.com> - 4.3.1-3
- revert openEuler-fix-docutils-version-error.patch
* Thu Jan 06 2022 shixuantong <shixuantong@huawei.com> - 4.3.1-2
- fix docutils version error
* Mon Dec 13 2021 shixuantong <shixuantong@huawei.com> - 4.3.1-1
- update version to 4.3.1
* Tue Jul 27 2021 OpenStack_SIG <openstack@openeuler.org> - 3.5.2-1
- update to 3.5.2

12
sphinx-test_theming.diff Normal file
View File

@ -0,0 +1,12 @@
diff -ru Sphinx-1.7.6/tests/test_theming.py Sphinx-1.7.6_patched/tests/test_theming.py
--- Sphinx-1.7.6/tests/test_theming.py 2018-07-16 11:24:40.000000000 +0200
+++ Sphinx-1.7.6_patched/tests/test_theming.py 2018-07-20 15:17:35.049263077 +0200
@@ -31,7 +31,7 @@
themes.append('alabaster')
# test Theme class API
- assert set(app.html_themes.keys()) == set(themes)
+ assert set(app.html_themes.keys()) >= set(themes)
assert app.html_themes['test-theme'] == app.srcdir / 'test_theme' / 'test-theme'
assert app.html_themes['ziptheme'] == app.srcdir / 'ziptheme.zip'
assert app.html_themes['staticfiles'] == app.srcdir / 'test_theme' / 'staticfiles'