Fix build scripts for Python 3.9
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1787966
This commit is contained in:
parent
d27b5ad9f1
commit
e4decde16e
@ -125,6 +125,10 @@ Obsoletes: platform-python-gpg < %{version}-%{release}
|
|||||||
# set it to a value which we know will be suppressed.
|
# 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
|
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
|
%build
|
||||||
# People neeed to learn that you can't run autogen.sh anymore
|
# People neeed to learn that you can't run autogen.sh anymore
|
||||||
#./autogen.sh
|
#./autogen.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user