diff --git a/python-dmidecode.changes b/python-dmidecode.changes index c6ca9ca..48f48da 100644 --- a/python-dmidecode.changes +++ b/python-dmidecode.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 13 12:46:21 UTC 2024 - Daniel Garcia + +- Add setuptools buildrequires, distutils is not part of python-base + from python 3.12+ + ------------------------------------------------------------------- Fri Apr 21 12:24:18 UTC 2023 - Dirk Müller diff --git a/python-dmidecode.spec b/python-dmidecode.spec index ba5b89b..f109dc1 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -1,7 +1,7 @@ # # spec file for package python-dmidecode # -# 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 @@ -38,12 +38,13 @@ Patch2: 31-version_info-v-version.patch # Make the code future-proof against removal of distutils module. Patch3: detect-lib-with-py3.patch BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: libxml2-devel BuildRequires: python-rpm-macros Requires: python Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Obsoletes: %{oldpython}-dmidecode <= %{version} Obsoletes: python-python-dmidecode <= %{version} %if 0%{?sle_version} >= 150400 || 0%{?suse_version} >= 1550