1
0

Accepting request 897741 from devel:languages:python

- add sphinx4.patch to enable build with Sphinx 4.x

OBS-URL: https://build.opensuse.org/request/show/897741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-logutils?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2021-06-11 20:30:09 +00:00 committed by Git OBS Bridge
commit e317bb6164
3 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 5 19:05:36 UTC 2021 - Dirk Müller <dmueller@suse.com>
- add sphinx4.patch to enable build with Sphinx 4.x
-------------------------------------------------------------------
Tue Dec 4 12:50:10 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-logutils
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,6 +25,7 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://logutils.readthedocs.io/
Source: https://files.pythonhosted.org/packages/source/l/logutils/logutils-%{version}.tar.gz
Patch0: sphinx4.patch
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
@ -58,6 +59,7 @@ This package contains the documentation.
%prep
%setup -q -n logutils-%{version}
%autopatch -p1
%build
%python_build

15
sphinx4.patch Normal file
View File

@ -0,0 +1,15 @@
Index: logutils-0.3.5/doc/conf.py
===================================================================
--- logutils-0.3.5.orig/doc/conf.py
+++ logutils-0.3.5/doc/conf.py
@@ -171,8 +171,8 @@ htmlhelp_basename = 'Logutilsdoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, document class [howto/manual]).
latex_documents = [
- ('index', 'Logutils.tex', ur'Logutils Documentation',
- ur'Vinay Sajip', 'manual'),
+ ('index', 'Logutils.tex', 'Logutils Documentation',
+ 'Vinay Sajip', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of