From 3e276b5ca887cfb609ce6a51a82f2c6aa8cf3c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 22 Aug 2023 11:47:43 +0200 Subject: [PATCH] Make PyPy 3.10 the main PyPy 3 on Fedora 39+ --- pypy3.9.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pypy3.9.spec b/pypy3.9.spec index f20596d..1b04142 100644 --- a/pypy3.9.spec +++ b/pypy3.9.spec @@ -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 - 7.3.12-2.3.9 +- Make PyPy 3.10 the main PyPy 3 on Fedora 39+ + * Wed Jul 26 2023 Miro Hrončok - 7.3.12-1.3.9 - Update to 7.3.12 - Fixes: rhbz#2203423