14
0

Accepting request 979839 from home:mcalabkova:branches:devel:languages:python

- Add upstream patch sphinx5.patch to fix build with the new Sphinx

OBS-URL: https://build.opensuse.org/request/show/979839
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-htmlhelp?expand=0&rev=9
This commit is contained in:
2022-05-30 15:03:43 +00:00
committed by Git OBS Bridge
parent 3001ce9db9
commit 79a8fd8313
3 changed files with 31 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,8 @@ License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/commit/248ff52b3c3d39c20cdaef3052ac7507a407733a Fix #9457: RemovedInSphinx50Warning on testing
Patch0: sphinx5.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -52,6 +54,7 @@ Html help generating extension.
%prep
%setup -q -n sphinxcontrib-htmlhelp-%{version}
%autopatch -p1
%build
%python_build