From 94cac02c7f11decd5c89361b9e8c8b45736fc5ed Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 4 Jul 2023 23:35:46 -0400 Subject: [PATCH] Fix build with Python 3.12 distutils has been removed from the standard library, but setuptools provides a compatibility layer. --- i2c-tools.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/i2c-tools.spec b/i2c-tools.spec index 37a9b45..dea2cc1 100644 --- a/i2c-tools.spec +++ b/i2c-tools.spec @@ -20,6 +20,7 @@ BuildRequires: gcc BuildRequires: make BuildRequires: perl-generators BuildRequires: python3-devel +BuildRequires: python3-setuptools ExcludeArch: s390 s390x Obsoletes: i2c-tools-eepromer < 4.2-2