forked from pool/python-dmidecode
- Add setuptools buildrequires, distutils is not part of python-base
from python 3.12+ OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=32
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 13 12:46:21 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user