Upgrade version to 7.0.1
Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
parent
3184fa6a8b
commit
8c5725cdd5
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -1,14 +1,12 @@
|
||||
Name: python-sphinx
|
||||
Version: 4.4.0
|
||||
Release: 2
|
||||
Version: 7.0.1
|
||||
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
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
@ -27,6 +25,8 @@ BuildRequires: python3-sphinxcontrib-jsmath
|
||||
BuildRequires: python3-sphinxcontrib-qthelp
|
||||
BuildRequires: python3-sphinxcontrib-serializinghtml
|
||||
BuildRequires: python3-sphinx-theme-alabaster
|
||||
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel python3-pytest
|
||||
BuildRequires: python3-flit-core
|
||||
|
||||
BuildRequires: dos2unix
|
||||
|
||||
@ -134,10 +134,9 @@ This package contains locale files for Sphinx.
|
||||
%prep
|
||||
%autosetup -n Sphinx-%{version} -p1
|
||||
|
||||
dos2unix -k ./sphinx/themes/basic/static/jquery.js
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_build
|
||||
|
||||
export PYTHONPATH=$PWD
|
||||
pushd doc
|
||||
@ -150,7 +149,7 @@ popd
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install sphinx==%{version}
|
||||
|
||||
# For backwards compatibility. Remove around Fedora 33 (with care)
|
||||
install -d %{buildroot}%{_libexecdir}/python3-sphinx
|
||||
@ -216,9 +215,7 @@ export PATH=%{buildroot}%{_bindir}:$PATH
|
||||
%license LICENSE
|
||||
%doc AUTHORS CHANGES EXAMPLES README.rst
|
||||
%{_bindir}/sphinx-*
|
||||
%{python3_sitelib}/sphinx/
|
||||
%dir %{python3_sitelib}/sphinxcontrib/
|
||||
%{python3_sitelib}/Sphinx-%{version}-py%{python3_version}.egg-info/
|
||||
%{python3_sitelib}/sphinx*
|
||||
%{_libexecdir}/python3-sphinx/
|
||||
|
||||
%files help
|
||||
@ -226,6 +223,9 @@ export PATH=%{buildroot}%{_bindir}:$PATH
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 28 2023 xu_ping <707078654@qq.com> - 1:7.0.1-1
|
||||
- Upgrade version to 7.0.1
|
||||
|
||||
* 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user