From 1c11e32e06e1e97a8e66e58db2a67f4c8ee531725ed855937f553f584bcf4fd5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 3 Jan 2024 09:48:19 +0000 Subject: [PATCH] - require setuptools - remove python2 logic, this makes no sense after "remove_six.patch" - require setuptools OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-configobj?expand=0&rev=46 --- python-configobj.changes | 9 ++++++++- python-configobj.spec | 9 ++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/python-configobj.changes b/python-configobj.changes index c797231..496b4db 100644 --- a/python-configobj.changes +++ b/python-configobj.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 3 09:46:30 UTC 2024 - Dirk Müller + +- require setuptools +- remove python2 logic, this makes no sense after + "remove_six.patch" + ------------------------------------------------------------------- Wed Jul 5 07:29:38 UTC 2023 - Matej Cepl @@ -31,7 +38,7 @@ Thu Apr 13 22:40:36 UTC 2023 - Matej Cepl ------------------------------------------------------------------- Mon Jan 16 21:16:58 UTC 2023 - Dirk Müller -- require setuptools +- require setuptools ------------------------------------------------------------------- Tue Dec 4 12:46:48 UTC 2018 - Matej Cepl diff --git a/python-configobj.spec b/python-configobj.spec index 254ec27..9373f69 100644 --- a/python-configobj.spec +++ b/python-configobj.spec @@ -1,7 +1,7 @@ # # spec file for package python-configobj # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%define oldpython python %{?sle15_python_module_pythons} Name: python-configobj Version: 5.0.8 @@ -32,16 +31,12 @@ Patch0: CVE-2023-26112.patch # We don't need six anymore Patch1: remove_six.patch BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six BuildArch: noarch -# There are no real docs! -%ifpython2 -Obsoletes: %{oldpython}-configobj-docs < %{version} -Provides: %{oldpython}-configobj-docs = %{version} -%endif %python_subpackages %description