From 0ad5bc291f1c689d4141562e3b81e4945aa8b697 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Fri, 3 Jan 2025 12:23:18 +0800 Subject: [PATCH] fix build with sphinx 8 --- python-systemd-235-sphinx8.patch | 8 ++++++++ python-systemd.spec | 8 ++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 python-systemd-235-sphinx8.patch diff --git a/python-systemd-235-sphinx8.patch b/python-systemd-235-sphinx8.patch new file mode 100644 index 0000000..d35d181 --- /dev/null +++ b/python-systemd-235-sphinx8.patch @@ -0,0 +1,8 @@ +--- python-systemd-235/docs/conf.py.orig 2025-01-03 12:20:31.087937454 +0800 ++++ python-systemd-235/docs/conf.py 2025-01-03 12:21:31.280787620 +0800 +@@ -276,5 +276,3 @@ + #epub_tocdup = True + + +-# Example configuration for intersphinx: refer to the Python standard library. +-intersphinx_mapping = {'http://docs.python.org/': None} diff --git a/python-systemd.spec b/python-systemd.spec index d2c1c1f..9038ba2 100644 --- a/python-systemd.spec +++ b/python-systemd.spec @@ -1,10 +1,11 @@ Name: python-systemd Version: 235 -Release: 1 +Release: 2 Summary: Python module for native access to the systemd facilities. -License: LGPLv2+ +License: LGPL-2.1-or-later URL: https://github.com/systemd/%{name} Source0: https://github.com/systemd/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: python-systemd-235-sphinx8.patch BuildRequires: gcc systemd-devel @@ -62,6 +63,9 @@ make check PYTHON=%{__python3} %exclude %{_pkgdocdir}/html %changelog +* Fri Jan 03 2025 Funda Wang - 235-2 +- fix build with sphinx 8 + * Mon Oct 24 2022 dongyuzhen - 235-1 - upgrade version to 235 -- Gitee