Compare commits

...

3 Commits

Author SHA1 Message Date
eabdullin 64c6635563 Merge branch 'c8' into a8 2022-05-10 11:35:50 +00:00
eabdullin 35ba6d59a5 Almalinux changes 2021-12-29 11:42:02 +03:00
Andrew Lukoshko 3714d7eba9 AlmaLinux changes 2021-09-15 11:30:41 +00:00
2 changed files with 19 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
@ -660,6 +661,7 @@ Patch372: 00372-CVE-2021-4189.patch
#
# https://fedoraproject.org/wiki/SIGs/Python/PythonPatches
Patch1000: python-3.6-almalinux_support.patch
# ==========================================
# Descriptions, and metadata for subpackages
@ -991,6 +993,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 +1919,9 @@ fi
# ======================================================
%changelog
* Tue May 10 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 3.6.8-45.alma
- Add AlmaLinux to supported distros
* 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