This commit is contained in:
Andrew Lukoshko 2023-06-22 10:25:59 +00:00
parent a4d48ab5dc
commit b140357418
2 changed files with 1 additions and 18 deletions

View File

@ -1,12 +0,0 @@
diff -ru Python-3.6.6.orig/Lib/platform.py Python-3.6.6/Lib/platform.py
--- Python-3.6.6.orig/Lib/platform.py 2018-06-26 16:39:50.000000000 -0700
+++ Python-3.6.6/Lib/platform.py 2019-02-15 15:36:37.535102909 -0800
@@ -265,7 +265,7 @@
# and http://www.die.net/doc/linux/man/man1/lsb_release.1.html
_supported_dists = (
- 'SuSE', 'debian', 'fedora', 'redhat', 'centos',
+ 'SuSE', 'debian', 'fedora', 'redhat', 'centos', 'oracle',
'mandrake', 'mandriva', 'rocks', 'slackware', 'yellowdog', 'gentoo',
'UnitedLinux', 'turbolinux', 'arch', 'mageia')

View File

@ -14,7 +14,7 @@ URL: https://www.python.org/
# WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well
Version: %{pybasever}.8
Release: 51.0.1%{?dist}.1
Release: 51%{?dist}.1
License: Python
@ -505,7 +505,6 @@ Patch332: 00332-CVE-2019-16056.patch
# https://bugs.python.org/issue37667
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1749576
Patch333: 00333-reduce-pgo-tests.patch
Patch10000: add-oracle-distribution.patch
# 00338 #
# Fix test_gdb for when compiling python with Link Time Optimizations
@ -1098,7 +1097,6 @@ rm Lib/ensurepip/_bundled/*.whl
%patch344 -p1
%patch345 -p1
%patch346 -p1
%patch10000 -p1
# Patch 351 adds binary file for testing. We need to apply it using Git.
git apply %{PATCH351}
@ -2056,9 +2054,6 @@ fi
# ======================================================
%changelog
* Wed Jun 14 2023 EL Errata <el-errata_ww@oracle.com> - 3.6.8-51.0.1
- Add Oracle Linux distribution in platform.py [Orabug: 20812544]
* Wed May 31 2023 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-51.1
- Security fix for CVE-2023-24329
Resolves: rhbz#2173917