Fix build with Python 3.12
The configure script uses distutils to determine various locations. While that has been removed from the standard library, setuptools provides a compatibility layer.
This commit is contained in:
parent
3c2df9d55f
commit
6c794a9595
@ -48,7 +48,8 @@ BuildRequires: autoconf, automake, libtool
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: cryptsetup-devel, gettext-devel, glib2-devel, /usr/bin/gpg2
|
||||
BuildRequires: gpgme-devel, libblkid-devel, nss-devel, python3-devel
|
||||
BuildRequires: gpgme-devel, libblkid-devel, nss-devel
|
||||
BuildRequires: python3-devel, python3-setuptools
|
||||
%if 0%{?drop_python2} < 1
|
||||
BuildRequires: python2-devel
|
||||
%endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user