BR setuptools on Python 3.12+
This commit is contained in:
parent
80dd256d14
commit
f2dc678cae
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ BuildRequires: cmake
|
|||
BuildRequires: gcc-c++
|
||||
BuildRequires: git-core
|
||||
|
||||
# we add a dependency on setuptools to provide the distutils module
|
||||
# upstream already removed the distutils usage in version 5+
|
||||
BuildRequires: (python3-setuptools if python3-devel >= 3.12)
|
||||
|
||||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
%if 0%{?fedora} >= 37 || 0%{?rhel} >= 10
|
||||
ExcludeArch: %{ix86}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue