Compare commits
24 Commits
Author | SHA256 | Date | |
---|---|---|---|
7bb7d85904 | |||
de9b89342b | |||
1def297b65 | |||
1001f43bf9 | |||
17006c6ed4 | |||
d79d30577b | |||
72ffa0c4c7 | |||
f36f4bcaeb | |||
a09c151b64 | |||
b5cdc6f1eb | |||
19c067cdb1 | |||
27eb671658 | |||
4d5255cf50 | |||
0537d14363 | |||
b526dbf64b | |||
e1981e8fde | |||
2a5848684e | |||
d7f74442bb | |||
c915bccf38 | |||
b71c249b07 | |||
2e20f195ab | |||
f32e149a5e | |||
d3193d296d | |||
4ce858e5ab |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 25 12:56:50 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 14 12:12:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Fri Mar 14 12:12:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
@@ -3804,7 +3809,6 @@ Release 1.3.3 (released Dec 2, 2015)
|
|||||||
====================================
|
====================================
|
||||||
|
|
||||||
Bugs fixed
|
Bugs fixed
|
||||||
----------
|
|
||||||
|
|
||||||
* #2012: Fix exception occurred if ``numfig_format`` is invalid
|
* #2012: Fix exception occurred if ``numfig_format`` is invalid
|
||||||
* #2142: Provide non-minified JS code in ``sphinx/search/non-minified-js/*.js`` for
|
* #2142: Provide non-minified JS code in ``sphinx/search/non-minified-js/*.js`` for
|
||||||
@@ -3816,12 +3820,10 @@ Release 1.3.2 (released Nov 29, 2015)
|
|||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
Features added
|
Features added
|
||||||
--------------
|
|
||||||
|
|
||||||
* #1935: Make "numfig_format" overridable in latex_elements.
|
* #1935: Make "numfig_format" overridable in latex_elements.
|
||||||
|
|
||||||
Bugs fixed
|
Bugs fixed
|
||||||
----------
|
|
||||||
|
|
||||||
* #1976: Avoid "2.0" version of Babel because it doesn't work with Windows environment.
|
* #1976: Avoid "2.0" version of Babel because it doesn't work with Windows environment.
|
||||||
* Add a "default.css" stylesheet (which imports "classic.css") for compatibility.
|
* Add a "default.css" stylesheet (which imports "classic.css") for compatibility.
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Sphinx
|
# spec file for package python-Sphinx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,6 +24,11 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Sphinx%{psuffix}
|
Name: python-Sphinx%{psuffix}
|
||||||
Version: 8.2.3
|
Version: 8.2.3
|
||||||
@@ -68,13 +73,18 @@ Requires: python-sphinxcontrib-htmlhelp >= 2.0.0
|
|||||||
Requires: python-sphinxcontrib-jsmath
|
Requires: python-sphinxcontrib-jsmath
|
||||||
Requires: python-sphinxcontrib-qthelp >= 1.0.2
|
Requires: python-sphinxcontrib-qthelp >= 1.0.2
|
||||||
Requires: python-sphinxcontrib-serializinghtml >= 1.1.9
|
Requires: python-sphinxcontrib-serializinghtml >= 1.1.9
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
Recommends: python-SQLAlchemy >= 0.9
|
Recommends: python-SQLAlchemy >= 0.9
|
||||||
Recommends: python-Sphinx-doc-man
|
Recommends: python-Sphinx-doc-man
|
||||||
Recommends: python-Whoosh >= 2.0
|
Recommends: python-Whoosh >= 2.0
|
||||||
Suggests: python-sphinx_rtd_theme
|
Suggests: python-sphinx_rtd_theme
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module Sphinx = %{version}}
|
BuildRequires: %{python_module Sphinx = %{version}}
|
||||||
@@ -208,10 +218,10 @@ This package contains the documentation for Sphinx.
|
|||||||
Summary: Man files for python-Sphinx
|
Summary: Man files for python-Sphinx
|
||||||
Group: Documentation/Man
|
Group: Documentation/Man
|
||||||
Requires: python3-Sphinx = %{version}
|
Requires: python3-Sphinx = %{version}
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
Supplements: python3-Sphinx
|
Supplements: python3-Sphinx
|
||||||
Obsoletes: python-Sphinx-doc-man-common <= %{version}
|
Obsoletes: python-Sphinx-doc-man-common <= %{version}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
|
||||||
%description -n python-Sphinx-doc-man
|
%description -n python-Sphinx-doc-man
|
||||||
Sphinx is a tool that facilitates creating documentation for Python
|
Sphinx is a tool that facilitates creating documentation for Python
|
||||||
@@ -266,6 +276,7 @@ $python -m sphinx -b html -j auto ./doc ./build.doc/html
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/sphinx-autogen
|
%python_clone -a %{buildroot}%{_bindir}/sphinx-autogen
|
||||||
%python_clone -a %{buildroot}%{_bindir}/sphinx-build
|
%python_clone -a %{buildroot}%{_bindir}/sphinx-build
|
||||||
%python_clone -a %{buildroot}%{_bindir}/sphinx-quickstart
|
%python_clone -a %{buildroot}%{_bindir}/sphinx-quickstart
|
||||||
|
%python_group_libalternatives sphinx-apidoc sphinx-autogen sphinx-build sphinx-quickstart
|
||||||
|
|
||||||
%python_expand mkdir -p %{buildroot}%{$python_sitelib}/sphinxcontrib
|
%python_expand mkdir -p %{buildroot}%{$python_sitelib}/sphinxcontrib
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
@@ -281,6 +292,9 @@ grep -F %{$python_sitelib} ${langfile} >> %{$python_prefix}-${langfile} \
|
|||||||
}
|
}
|
||||||
%python_find_lang sphinx
|
%python_find_lang sphinx
|
||||||
|
|
||||||
|
# libalternatives binaries break the kernel script for determining the Sphinx version
|
||||||
|
sed -i 's/import sys/import sys; sys.argv[0] = "sphinx-build"/' %{buildroot}%{_bindir}/sphinx-build-*
|
||||||
|
|
||||||
%else
|
%else
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
mkdir -p %{buildroot}%{_docdir}/python-Sphinx/
|
mkdir -p %{buildroot}%{_docdir}/python-Sphinx/
|
||||||
@@ -305,6 +319,9 @@ mv build.doc/man/sphinx-quickstart.1 %{buildroot}%{_mandir}/man1/sphinx-quicksta
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative sphinx-apidoc
|
%python_uninstall_alternative sphinx-apidoc
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative sphinx-apidoc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Reference in New Issue
Block a user