Restore the ability to build with python < 3.12
This commit is contained in:
parent
558b6b8622
commit
3a680948e5
|
@ -58,7 +58,10 @@ Provides: bundled(js-jquery)
|
|||
This package contains API documentation for gmpy2.
|
||||
|
||||
%prep
|
||||
%autosetup -n gmpy2-%{version} -p1
|
||||
%autosetup -N -n gmpy2-%{version}
|
||||
%if 0%{?python3_version_nodots} > 311
|
||||
%autopatch -p1
|
||||
%endif
|
||||
|
||||
# Update the sphinx theme name
|
||||
sed -i "s/'default'/'classic'/" docs/conf.py
|
||||
|
|
Loading…
Reference in New Issue