- 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
This commit is contained in:
Dirk Mueller 2024-01-03 09:48:19 +00:00 committed by Git OBS Bridge
parent f873d80a53
commit 1c11e32e06
2 changed files with 10 additions and 8 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 3 09:46:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
- require setuptools
- remove python2 logic, this makes no sense after
"remove_six.patch"
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 5 07:29:38 UTC 2023 - Matej Cepl <mcepl@suse.com> Wed Jul 5 07:29:38 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-configobj # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,6 @@
# #
%define oldpython python
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-configobj Name: python-configobj
Version: 5.0.8 Version: 5.0.8
@ -32,16 +31,12 @@ Patch0: CVE-2023-26112.patch
# We don't need six anymore # We don't need six anymore
Patch1: remove_six.patch Patch1: remove_six.patch
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-six Requires: python-six
BuildArch: noarch BuildArch: noarch
# There are no real docs!
%ifpython2
Obsoletes: %{oldpython}-configobj-docs < %{version}
Provides: %{oldpython}-configobj-docs = %{version}
%endif
%python_subpackages %python_subpackages
%description %description