Make PyPy 3.10 the main PyPy 3 on Fedora 39+

This commit is contained in:
Miro Hrončok 2023-08-22 11:47:43 +02:00
parent f8ee99bc22
commit 3e276b5ca8

View File

@ -10,7 +10,7 @@ Version: %{basever}.%{micro}%{?pre:~%{pre}}
# by Python version as well.
# This potentially allows tags like Obsoletes: pypy3 < %%{version}-%%{release}.
# https://bugzilla.redhat.com/2053880
%global baserelease 1
%global baserelease 2
Release: %{baserelease}.%{pyversion}%{?dist}
Summary: Python %{pyversion} implementation with a Just-In-Time compiler
@ -68,6 +68,7 @@ ExcludeArch: %{ix86}
# We refer to this subdir of the source tree in a few places during the build:
%global goal_dir pypy/goal
%if 0%{?fedora} < 39
# REMINDER: When updating the main pypy3 version for a certain Fedora release
# make sure to update the python-classroom group in https://pagure.io/fedora-comps/
# 1. locate comps-fXX.xml.in for each affected Fedora release
@ -75,6 +76,9 @@ ExcludeArch: %{ix86}
# 3. change the package name to match the new version
# 4. submit changes as a pull request and make sure somebody merges it
%bcond_without main_pypy3
%else
%bcond_with main_pypy3
%endif
%ifarch %{ix86} x86_64 %{arm}
%global _package_note_linker gold
@ -836,6 +840,9 @@ CheckPyPy pypy%{pyversion}-c
%changelog
* Tue Aug 22 2023 Miro Hrončok <mhroncok@redhat.com> - 7.3.12-2.3.9
- Make PyPy 3.10 the main PyPy 3 on Fedora 39+
* Wed Jul 26 2023 Miro Hrončok <mhroncok@redhat.com> - 7.3.12-1.3.9
- Update to 7.3.12
- Fixes: rhbz#2203423