Show the version as 7.0.0

While this is 7.0.0, it has 7.1.0-alpha0 listed inside,
we sed it out to avoid user confusion.
This commit is contained in:
Miro Hrončok 2019-05-17 00:56:47 +02:00
parent 124d766f70
commit 3e4b7200d3

View File

@ -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 <mhroncok@redhat.com> - 7.0.0-2
- Show the version as 7.0.0
* Thu Feb 28 2019 Miro Hrončok <mhroncok@redhat.com> - 7.0.0-1
- Update to 7.0.0 (#1673127)