Miro Hrončok 2020-05-06 20:28:43 +02:00
parent 0848610354
commit 12dd2144f7
3 changed files with 9 additions and 5 deletions

View File

@ -79,7 +79,7 @@
# ================== # ==================
# Top-level metadata # Top-level metadata
# ================== # ==================
Name: python%{pyshortver} Name: python%{pybasever}
Summary: Version %{pybasever} of the Python programming language Summary: Version %{pybasever} of the Python programming language
URL: https://www.python.org/ URL: https://www.python.org/
@ -87,7 +87,7 @@ URL: https://www.python.org/
#global prerel ... #global prerel ...
%global upstream_version %{general_version}%{?prerel} %global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}} Version: %{general_version}%{?prerel:~%{prerel}}
Release: 4%{?dist} Release: 5%{?dist}
License: Python License: Python
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package # Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
@ -160,8 +160,9 @@ Requires: glibc%{?_isa} >= 2.24.90-26
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# People might want to dnf install pythonX.Y instead of pythonXY # Provide and obsolete the old python3X name
Provides: python%{pybasever} = %{version}-%{release} Provides: python%{pyshortver} = %{version}-%{release}
Obsoletes: python%{pyshortver} < %{version}-%{release}
# ======================= # =======================
# Source code and patches # Source code and patches
@ -1068,6 +1069,9 @@ CheckPython optimized
# ====================================================== # ======================================================
%changelog %changelog
* Wed May 06 2020 Miro Hrončok <mhroncok@redhat.com> - 3.5.9-5
- Rename from python35 to python3.5
* Tue May 05 2020 Tomas Hrnciar <thrnciar@redhat.com> - 3.5.9-4 * Tue May 05 2020 Tomas Hrnciar <thrnciar@redhat.com> - 3.5.9-4
- Fix a build/test failure with glibc 2.31.9000+ (#1819759) - Fix a build/test failure with glibc 2.31.9000+ (#1819759)

View File

@ -14,4 +14,4 @@
required_packages: required_packages:
- gcc - gcc
- python3-tox - python3-tox
- python35 - python3.5