From e845096534777d20970f4c7f2d0165a3f17d34e7 Mon Sep 17 00:00:00 2001 From: David King Date: Mon, 10 Apr 2023 09:29:23 +0100 Subject: [PATCH] Add python3-setuptools Requires to -devel gdbus-codegen uses distutils. https://bugzilla.redhat.com/show_bug.cgi?id=2137442 --- glib2.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glib2.spec b/glib2.spec index 229f482..ac2245e 100644 --- a/glib2.spec +++ b/glib2.spec @@ -59,6 +59,10 @@ as an event loop, threads, dynamic loading, and an object system. %package devel Summary: A library of handy utility functions Requires: %{name}%{?_isa} = %{version}-%{release} +# The package uses distutils (for gdbus-codegen) which is no longer part of +# Python 3.12+ standard library. +# https://bugzilla.redhat.com/show_bug.cgi?id=2137442 +Requires: (python3-setuptools if python3 >= 3.12) %description devel The glib2-devel package includes the header files for the GLib library.