PyPy 3.3 5.5.0

This commit is contained in:
Miro Hrončok 2016-10-22 14:11:41 +02:00
parent 343676a899
commit 347975dbf4

View File

@ -1,6 +1,6 @@
Name: pypy3 Name: pypy3
Version: 5.2.0 Version: 5.5.0
Release: 0.1.alpha1%{?dist} Release: 1%{?dist}
Summary: Python 3 implementation with a Just-In-Time compiler Summary: Python 3 implementation with a Just-In-Time compiler
Group: Development/Languages Group: Development/Languages
@ -129,7 +129,7 @@ URL: http://pypy.org/
%(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
# Source and patches: # Source and patches:
Source0: https://bitbucket.org/pypy/pypy/downloads/pypy3.3-v5.2.0-alpha1-src.tar.bz2 Source0: https://bitbucket.org/pypy/pypy/downloads/pypy3.3-v%{version}-alpha-src.tar.bz2
# Supply various useful RPM macros for building python modules against pypy: # Supply various useful RPM macros for building python modules against pypy:
# __pypy, pypy_sitelib, pypy_sitearch # __pypy, pypy_sitelib, pypy_sitearch
@ -201,13 +201,18 @@ BuildRequires: zlib-devel
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: expat-devel BuildRequires: expat-devel
BuildRequires: openssl-devel
BuildRequires: gdbm-devel BuildRequires: gdbm-devel
BuildRequires: xz-devel BuildRequires: xz-devel
%ifnarch s390 %ifnarch s390
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
%endif %endif
%if 0%{?fedora} >= 26
BuildRequires: compat-openssl10-devel
%else
BuildRequires: openssl-devel
%endif
%if %{run_selftests} %if %{run_selftests}
# Used by the selftests, though not by the build: # Used by the selftests, though not by the build:
BuildRequires: gc-devel BuildRequires: gc-devel
@ -281,7 +286,7 @@ Build of PyPy3 with support for micro-threads for massive concurrency
%endif %endif
%prep %prep
%autosetup -n pypy3.3-v5.2.0-alpha1-src -p1 -S git %autosetup -n pypy3-v%{version}-src -p1 -S git
# Replace /usr/local/bin/python shebangs with /usr/bin/python: # Replace /usr/local/bin/python shebangs with /usr/bin/python:
find -name "*.py" -exec \ find -name "*.py" -exec \
@ -803,6 +808,8 @@ CheckPyPy pypy3-stackless
%{_bindir}/pypy3.3 %{_bindir}/pypy3.3
%{pypyprefix}/bin/ %{pypyprefix}/bin/
%exclude %{_libdir}/%{name}-%{version}.tar.bz2
%files devel %files devel
%dir %{pypy_include_dir} %dir %{pypy_include_dir}
%{pypy_include_dir}/*.h %{pypy_include_dir}/*.h
@ -817,6 +824,10 @@ CheckPyPy pypy3-stackless
%changelog %changelog
* Sat Oct 15 2016 Miro Hrončok <mhroncok@redhat.com> - 5.5.0-1
- PyPy 3.3 5.5.0
- On Fedora 26+, BR compat-openssl10-devel
* Sat Jul 02 2016 Miro Hrončok <mhroncok@redhat.com> - 5.2.0-0.1.alpha1 * Sat Jul 02 2016 Miro Hrončok <mhroncok@redhat.com> - 5.2.0-0.1.alpha1
- First alpha build of PyPy 3.3 - First alpha build of PyPy 3.3