From f01ee0e53d7b174ff3b479b7aea70c1691ed5ee242e531a987adadccb39ac4a1 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno Date: Fri, 24 Jan 2025 09:01:17 +0100 Subject: [PATCH] Fix build with python 3.13 Remove distributed python.m4 to use the system one that's up to date. The python.m4 script in contrib/aclocal/python.m4 uses the distutils module. This module is not present in python > 3.11. --- glusterfs.changes | 6 ++++++ glusterfs.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/glusterfs.changes b/glusterfs.changes index 2edc9e5..b33fd48 100644 --- a/glusterfs.changes +++ b/glusterfs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 24 08:00:04 UTC 2025 - Daniel Garcia + +- Fix build with python 3.13, remove distributed python.m4 to use the + system one that's up to date. + ------------------------------------------------------------------- Thu Aug 22 18:11:49 UTC 2024 - pgajdos@suse.com diff --git a/glusterfs.spec b/glusterfs.spec index e73728b..5c3bc82 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -147,6 +147,8 @@ links. %prep %autosetup -p1 +# Remove old python.m4 to use system default. Makes it compatible with python3.13 +rm contrib/aclocal/python.m4 %build %define _lto_cflags %nil