| |
@@ -1,8 +1,8 @@
|
| |
- %global basever 6.0
|
| |
+ %global basever 7.0
|
| |
Name: pypy3
|
| |
Version: %{basever}.0
|
| |
%global pyversion 3.5
|
| |
- Release: 5%{?dist}
|
| |
+ Release: 1%{?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
|
| |
@@ -138,7 +138,7 @@
|
| |
%(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
| |
|
| |
# Source and patches:
|
| |
- Source0: https://bitbucket.org/pypy/pypy/downloads/pypy3-v%{version}-src.tar.bz2
|
| |
+ Source0: https://bitbucket.org/pypy/pypy/downloads/pypy%{pyversion}-v%{version}-src.tar.bz2
|
| |
|
| |
# Supply various useful RPM macros for building python modules against pypy:
|
| |
# __pypy, pypy_sitelib, pypy_sitearch
|
| |
@@ -174,12 +174,6 @@
|
| |
# We conditionally apply this, but we use autosetup, so we use Source here
|
| |
Source189: 189-use-rpm-wheels.patch
|
| |
|
| |
- # Fix multiprocessing regression on newer glibcs
|
| |
- # See: https://bugzilla.redhat.com/show_bug.cgi?id=1569933
|
| |
- # and: https://bugs.python.org/issue33329
|
| |
- # and: https://bitbucket.org/pypy/pypy/pull-requests/607
|
| |
- Patch302: 302-fix-multiprocessing-regression-on-newer-glibcs.patch
|
| |
-
|
| |
# Build-time requirements:
|
| |
|
| |
# pypy's can be rebuilt using itself, rather than with CPython; doing so
|
| |
@@ -224,18 +218,13 @@
|
| |
BuildRequires: bzip2-devel
|
| |
BuildRequires: ncurses-devel
|
| |
BuildRequires: expat-devel
|
| |
+ BuildRequires: openssl-devel
|
| |
BuildRequires: gdbm-devel
|
| |
BuildRequires: xz-devel
|
| |
%ifnarch s390
|
| |
BuildRequires: valgrind-devel
|
| |
%endif
|
| |
|
| |
- %if 0%{?fedora} >= 26
|
| |
- BuildRequires: compat-openssl10-devel
|
| |
- %else
|
| |
- BuildRequires: openssl-devel
|
| |
- %endif
|
| |
-
|
| |
%if %{run_selftests}
|
| |
# Used by the selftests, though not by the build:
|
| |
BuildRequires: gc-devel
|
| |
@@ -266,6 +255,8 @@
|
| |
# Metadata for the core package (the JIT build):
|
| |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
| |
Provides: %{name}(abi) = %{basever}
|
| |
+ Provides: pypy%{pyversion} = %{version}-%{release}
|
| |
+ Provides: pypy%{pyversion}%{?_isa} = %{version}-%{release}
|
| |
|
| |
%description
|
| |
PyPy's implementation of Python 3, featuring a Just-In-Time compiler on some CPU
|
| |
@@ -289,6 +280,9 @@
|
| |
Requires: emacs-filesystem >= %{_emacs_version}
|
| |
%endif
|
| |
|
| |
+ Provides: pypy%{pyversion}-libs = %{version}-%{release}
|
| |
+ Provides: pypy%{pyversion}-libs%{?_isa} = %{version}-%{release}
|
| |
+
|
| |
%if %{with rpmwheels}
|
| |
Requires: python-setuptools-wheel
|
| |
Requires: python-pip-wheel
|
| |
@@ -305,6 +299,9 @@
|
| |
Summary: Development tools for working with PyPy3
|
| |
Requires: pypy3%{?_isa} = %{version}-%{release}
|
| |
|
| |
+ Provides: pypy%{pyversion}-devel = %{version}-%{release}
|
| |
+ Provides: pypy%{pyversion}-devel%{?_isa} = %{version}-%{release}
|
| |
+
|
| |
%description devel
|
| |
Header files for building C extension modules against PyPy3
|
| |
|
| |
@@ -313,12 +310,16 @@
|
| |
%package stackless
|
| |
Summary: Stackless Python interpreter built using PyPy3
|
| |
Requires: pypy3-libs%{?_isa} = %{version}-%{release}
|
| |
+
|
| |
+ Provides: pypy%{pyversion}-stackless = %{version}-%{release}
|
| |
+ Provides: pypy%{pyversion}-stackless%{?_isa} = %{version}-%{release}
|
| |
+
|
| |
%description stackless
|
| |
Build of PyPy3 with support for micro-threads for massive concurrency
|
| |
%endif
|
| |
|
| |
%prep
|
| |
- %autosetup -n pypy3-v%{version}-src -p1 -S git
|
| |
+ %autosetup -n pypy%{pyversion}-v%{version}-src -p1 -S git
|
| |
|
| |
%if %{with rpmwheels}
|
| |
%apply_patch -m %(basename %{SOURCE189}) %{SOURCE189}
|
| |
@@ -868,6 +869,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Thu Feb 28 2019 Miro Hrončok <mhroncok@redhat.com> - 7.0.0-1
|
| |
+ - Update to 7.0.0 (#1673127)
|
| |
+
|
| |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-5
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
| |
|
| |