Require python39 for ann benchmark sub package.
@@ -403,8 +403,12 @@ Summary: Vespa - The open big data serving engine - ann-benchmark
Requires: %{name}-base-libs = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
%if 0%{?el8}
+%if 0%{?_centos_stream}
+BuildRequires: python39
+%else
Requires: python36
%endif
+%endif
%if 0%{?el9}
Requires: python3
%endif
