diff --git a/gpgme.spec b/gpgme.spec index d3a5b4f..de6b7cd 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -125,6 +125,10 @@ Obsoletes: platform-python-gpg < %{version}-%{release} # set it to a value which we know will be suppressed. sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpgme-config.in +# The build machinery does not support Python 3.9+ yet +# https://github.com/gpg/gpgme/pull/4 +sed -i 's/3.8/%{python3_version}/g' configure + %build # People neeed to learn that you can't run autogen.sh anymore #./autogen.sh