diff --git a/python3.12.spec b/python3.12.spec index 8ce0563..b74fd68 100644 --- a/python3.12.spec +++ b/python3.12.spec @@ -267,7 +267,6 @@ BuildRequires: make BuildRequires: mpdecimal-devel BuildRequires: ncurses-devel -BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: readline-devel @@ -281,6 +280,10 @@ BuildRequires: tix-devel BuildRequires: tk-devel < 1:9 BuildRequires: tzdata +# Support for OpenSSL 4 only landed in Python 3.15 for now +# https://github.com/python/cpython/issues/146207 +BuildRequires: (openssl-devel < 1:4 or openssl3-devel) + # Perf support is only available on x86_64 and aarch64 right now %ifarch x86_64 aarch64 BuildRequires: perf