AlmaLinux changes

This commit is contained in:
eabdullin 2022-04-01 13:25:33 +03:00
parent 428a34aada
commit a8a6ab8a0e
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -Naur Python-3.6.8.orig/Lib/platform.py Python-3.6.8.almalinux/Lib/platform.py
--- Python-3.6.8.orig/Lib/platform.py 2018-12-24 00:37:14.000000000 +0300
+++ Python-3.6.8.almalinux/Lib/platform.py 2021-03-09 11:46:50.252385459 +0300
@@ -297,7 +297,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', 'almalinux',
'mandrake', 'mandriva', 'rocks', 'slackware', 'yellowdog', 'gentoo',
'UnitedLinux', 'turbolinux', 'arch', 'mageia')

View File

@ -1,6 +1,7 @@
# ==================
# Top-level metadata
# ==================
%global dist %{?dist}.alma
Name: python3
Summary: Interpreter of the Python programming language
@ -651,6 +652,9 @@ Patch370: 00370-GIL-monotonic-clock.patch
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=2036020
Patch372: 00372-CVE-2021-4189.patch
Patch1000: python-3.6-almalinux_support.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -991,6 +995,8 @@ git apply %{PATCH351}
%patch370 -p1
%patch372 -p1
%patch1000 -p1
# Remove files that should be generated by the build
# (This is after patching, so that we can use patches directly from upstream)
rm configure pyconfig.h.in
@ -1915,6 +1921,9 @@ fi
# ======================================================
%changelog
* Fri Apr 01 2022 Eduard Abdullin <eabdullin@almalinux.org> - 3.6.8-45.alma
- AlmaLinux changes
* Fri Jan 07 2022 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-45
- Security fix for CVE-2021-4189: ftplib should not use the host from the PASV response
Resolves: rhbz#2036020