Fix build with Python 3.12

distutils has been removed from the standard library, but setuptools
provides a compatibility layer.

(cherry picked from commit 900cffeb19)
This commit is contained in:
Yaakov Selkowitz 2023-07-05 01:38:29 -04:00 committed by Thomas Haller
parent 0410366025
commit 7bec7f8971

View File

@ -66,6 +66,7 @@ This package contains libnl3 API documentation
Summary: libnl3 binding for Python 3
%{?python_provide:%python_provide python3-libnl3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: make
Requires: %{name} = %{version}-%{release}