From d1a452dbbed596f7af7a8e3d3690fc84306937b0 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Jul 04 2023 22:48:21 +0000 Subject: Fix build with Python 3.12 The autotools py-compile script in the source tarball is outdated. --- diff --git a/xcb-proto.spec b/xcb-proto.spec index 76c9a9e..8edaa93 100644 --- a/xcb-proto.spec +++ b/xcb-proto.spec @@ -9,6 +9,7 @@ Source0: https://xorg.freedesktop.org/archive/individual/proto/%{name}-%{ BuildArch: noarch +BuildRequires: autoconf automake BuildRequires: libxml2 BuildRequires: make BuildRequires: python3-devel @@ -22,6 +23,7 @@ the protocol. %prep %autosetup -p1 +autoreconf -fiv %build