From d6380f72ef33731c3d217008a340665caccccc67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 30 Mar 2022 11:13:27 +0200 Subject: [PATCH] Define %baserelease to make bumpspec work properly --- pypy3.9.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pypy3.9.spec b/pypy3.9.spec index cb84b30..9c1b4b1 100644 --- a/pypy3.9.spec +++ b/pypy3.9.spec @@ -10,7 +10,8 @@ Version: %{basever}.%{micro}%{?pre:~%{pre}} # by Python version as well. # This potentially allows tags like Obsoletes: pypy3 < %%{version}-%%{release}. # https://bugzilla.redhat.com/2053880 -Release: 1.%{pyversion}%{?dist} +%global baserelease 1 +Release: %{baserelease}.%{pyversion}%{?dist} Summary: Python %{pyversion} implementation with a Just-In-Time compiler # PyPy is MIT