Provide missing bundled library information

This commit is contained in:
Miro Hrončok 2021-05-25 22:05:10 +02:00
parent a45f4e982e
commit f592f0db6a

View File

@ -2,14 +2,20 @@
Name: pypy3
Version: %{basever}.1
%global pyversion 3.6
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Python 3 implementation with a Just-In-Time compiler
# PyPy is MIT
# Python standard library is Python
# pypy/module/unicodedata is UCD
# Bundled pycparser is is BSD
# Bundled pycparser.ply is BSD
# Bundled bits from cryptography are ASL 2.0 or BSD
# LGPL and another free license we'd need to ask spot about are present in some
# java jars that we're not building with atm (in fact, we're deleting them
# before building). If we restore those we'll have to work out the new
# licensing terms
License: MIT and Python and UCD
License: MIT and Python and UCD and BSD and (ASL 2.0 or BSD)
URL: http://pypy.org/
# High-level configuration of the build:
@ -279,14 +285,23 @@ Provides: pypy%{pyversion}-libs%{?_isa} = %{version}-%{release}
Requires: python-setuptools-wheel
Requires: python-pip-wheel
%else
Provides: bundled(python3-pip) = 20.0.2
Provides: bundled(python3-setuptools) = 44.0.0
Provides: bundled(python3dist(pip)) = 20.0.2
Provides: bundled(python3dist(setuptools)) = 44.0.0
%endif
# Provides for the bundled libmpdec
Provides: bundled(mpdecimal) = %{libmpdec_version}
Provides: bundled(libmpdec) = %{libmpdec_version}
# Find the version in lib_pypy/cffi/_pycparser/__init__.py
Provides: bundled(python3dist(pycparser)) = 2.20
# Find the version in lib_pypy/cffi/_pycparser/ply/__init__.py
Provides: bundled(python3dist(ply)) = 3.9
# Find the version in lib_pypy/_cffi_ssl/cryptography/__about__.py
Provides: bundled(python3dist(cryptography)) = 2.7
%description libs
Libraries required by the various PyPy implementations of Python 3.
@ -878,6 +893,9 @@ CheckPyPy %{name}-stackless
%changelog
* Tue May 25 2021 Miro Hrončok <mhroncok@redhat.com> - 7.3.1-6
- Provide missing bundled library information
* Wed May 19 2021 Charalampos Stratakis <cstratak@redhat.com> - 7.3.1-5
- Add virtual provides for the bundled libmpdec (rhbz#1943359)