Add %{python3_version} macro to sed to make it work for Python3.10

Fixes: rhbz#1896792
This commit is contained in:
Tomas Hrnciar 2020-11-11 15:37:01 +01:00
parent 6acab4a5a7
commit 2a3718c826

View File

@ -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