From 60b984d95bd42ce1725265d8252dd44eb1dbb008 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 6 Jul 2023 01:10:25 -0400 Subject: [PATCH] Fix build with Python 3.12 distutils has been removed from the standard library, but setuptools provides a compatibility layer. --- python-kmod.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-kmod.spec b/python-kmod.spec index f053dde..17d5f53 100644 --- a/python-kmod.spec +++ b/python-kmod.spec @@ -8,6 +8,7 @@ Source0: https://github.com/downloads/agrover/%{name}/%{name}-%{version}. BuildRequires: gcc BuildRequires: python3-devel BuildRequires: python3-Cython +BuildRequires: python3-setuptools BuildRequires: python3 BuildRequires: kmod-devel