From 2a3718c82687873c8b4ac009d22e5869f461721e Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Wed, 11 Nov 2020 15:37:01 +0100 Subject: [PATCH] Add %{python3_version} macro to sed to make it work for Python3.10 Fixes: rhbz#1896792 --- glade.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glade.spec b/glade.spec index c632664..96e62c6 100644 --- a/glade.spec +++ b/glade.spec @@ -65,8 +65,8 @@ developing applications that use Glade widget library. %prep %setup -q -# Hack in Python 3.9 support -sed -i -e 's/python-3.8-embed/python-3.9-embed/g' meson.build +# Hack in Python 3.9+ support +sed -i -e 's/python-3.8-embed/python-%{python3_version}-embed/g' meson.build %build