diff --git a/pypy3.spec b/pypy3.spec index 6c452df..201a8ac 100644 --- a/pypy3.spec +++ b/pypy3.spec @@ -2,7 +2,7 @@ Name: pypy3 Version: %{basever}.0 %global pyversion 3.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python 3 implementation with a Just-In-Time compiler # LGPL and another free license we'd need to ask spot about are present in some @@ -321,6 +321,14 @@ Build of PyPy3 with support for micro-threads for massive concurrency %prep %autosetup -n pypy%{pyversion}-v%{version}-src -p1 -S git +# While this is 7.0.0, it has 7.1.0-alpha0 listed inside +# We sed it out to avoid user confusion +sed -i 's/7\.1\.0/7.0.0/' pypy/doc/conf.py +sed -i 's/7\.1\.0-alpha0/7.0.0/g' pypy/module/cpyext/include/patchlevel.h pypy/doc/how-to-release.rst +sed -i 's/0x07010000/0x07000000/' pypy/module/cpyext/include/patchlevel.h +sed -i 's/7, 1, 0, "alpha"/7, 0, 0, "final"/' pypy/module/sys/version.py + + %if %{with rpmwheels} %apply_patch -m %(basename %{SOURCE189}) %{SOURCE189} rm lib-python/3/ensurepip/_bundled/*.whl @@ -869,6 +877,9 @@ CheckPyPy %{name}-stackless %changelog +* Thu May 16 2019 Miro Hrončok - 7.0.0-2 +- Show the version as 7.0.0 + * Thu Feb 28 2019 Miro Hrončok - 7.0.0-1 - Update to 7.0.0 (#1673127)