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.