15
0

Accepting request 1242993 from home:glaubitz:branches:devel:languages:python

- Update to 5.0.9
  * Drop support for Python 2 and <3.7
  * Fix CVE-2023-26112, ReDoS attack
- Drop CVE-2023-26112.patch, merged upstream
- Drop remove_six.patch, fixed upstream

OBS-URL: https://build.opensuse.org/request/show/1242993
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-configobj?expand=0&rev=51
This commit is contained in:
2025-02-04 10:23:44 +00:00
committed by Git OBS Bridge
parent e98a0274c3
commit 299873ef2d
6 changed files with 14 additions and 437 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-configobj
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-configobj
Version: 5.0.8
Version: 5.0.9
Release: 0
Summary: Config file reading, writing and validation
License: BSD-3-Clause
@@ -26,11 +26,6 @@ Group: Development/Languages/Python
URL: https://github.com/DiffSK/configobj
# No tests in PyPI sdist
Source: https://github.com/DiffSK/configobj/archive/refs/tags/v%{version}.tar.gz#/configobj-%{version}-gh.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/DiffSK/configobj/pull/236 Address CVE-2023-26112 ReDoS
Patch0: CVE-2023-26112.patch
# PATCH-FIX-UPSTREAM remove_six.patch gh#DiffSK/configobj#239 mcepl@suse.com
# We don't need six anymore
Patch1: remove_six.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}