Add %{python3_version} macro to sed to make it work for Python3.10
Fixes: rhbz#1896792
This commit is contained in:
parent
6acab4a5a7
commit
2a3718c826
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user