diff --git a/python-sphinx.spec b/python-sphinx.spec index ffbcd2bf8c17539d3d8dbf28a764ef12d0bb088c..459d67122314018449732148dcde431718efd9c2 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -1,11 +1,11 @@ Name: python-sphinx -Version: 7.0.1 +Version: 7.3.7 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 +Source0: https://files.pythonhosted.org/packages/b7/0a/b88033900b1582f5ed8f880263363daef968d1cd064175e32abfd9714410/sphinx-%{version}.tar.gz BuildArch: noarch @@ -39,6 +39,7 @@ BuildRequires: python3-snowballstemmer BuildRequires: gettext BuildRequires: graphviz BuildRequires: texinfo +BuildRequires: python3-tomli %description @@ -132,8 +133,7 @@ Summary:Locale files for python-sphinx This package contains locale files for Sphinx. %prep -%autosetup -n Sphinx-%{version} -p1 - +%autosetup -n sphinx-%{version} -p1 %build %pyproject_build @@ -206,14 +206,14 @@ export PATH=%{buildroot}%{_bindir}:$PATH %endif %files locale -f sphinx.lang -%license LICENSE +%license LICENSE.rst %dir %{_datadir}/sphinx/ %dir %{_datadir}/sphinx/locale %dir %{_datadir}/sphinx/locale/* %files -n python3-sphinx -f sphinx.lang -%license LICENSE -%doc AUTHORS CHANGES EXAMPLES README.rst +%license LICENSE.rst +%doc AUTHORS.rst CHANGES.rst EXAMPLES.rst README.rst %{_bindir}/sphinx-* %{python3_sitelib}/sphinx* %{_libexecdir}/python3-sphinx/ @@ -223,6 +223,18 @@ export PATH=%{buildroot}%{_bindir}:$PATH %{_mandir}/man1/* %changelog +* Sat May 11 2024 wangxiaomeng - 1:7.3.7-1 +- Upgrade version to 7.3.7 + - #11165: Support the officially recommended .jinja suffix for template files. Patch by James Addison and Adam Turner + - Flatten Union[Literal[T], Literal[U], ...] to Literal[T, U, ...] when turning annotations into strings. Patch by Adam Turner. + - #12162: Fix a performance regression in the C domain that has been present since version 3.0.0. Patch by Donald Hunter. + - #12290: Fix a false-positive warning when setting a configuration value with Any as the valid type to a type other than the value’s default. Patch by Adam Turner. + - Require tomli on Python 3.10 and earlier. Patch by Adam Turner. + - #12265: Support theme configuration via theme.toml. + - #11905: Add a versionremoved directive. Patch by Hugo van Kemenade, Adam Turner, and C.A.M. Gerlach. + - #11904: Support unary subtraction when parsing annotations. Patch by James Addison. + - #12147: autosummary: Fix a bug whereby the wrong file extension may be used, when multiple suffixes are specified in source_suffix. Patch by Sutou Kouhei. + * Fri Jul 28 2023 xu_ping <707078654@qq.com> - 1:7.0.1-1 - Upgrade version to 7.0.1 diff --git a/Sphinx-7.0.1.tar.gz b/sphinx-7.3.7.tar.gz similarity index 49% rename from Sphinx-7.0.1.tar.gz rename to sphinx-7.3.7.tar.gz index bef7ac06766fc13f16ee3b83a6dcfa50025f41a1..ffd98ec8396dcf48a60b7f799d94e9c53bbba4cc 100644 Binary files a/Sphinx-7.0.1.tar.gz and b/sphinx-7.3.7.tar.gz differ