AlmaLinux changes
This commit is contained in:
parent
7c0aac331f
commit
3714d7eba9
|
@ -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')
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
# ==================
|
||||
# Top-level metadata
|
||||
# ==================
|
||||
%global dist %{?dist}.alma
|
||||
|
||||
Name: python3
|
||||
Summary: Interpreter of the Python programming language
|
||||
|
@ -600,6 +601,7 @@ Patch359: 00359-CVE-2021-23336.patch
|
|||
#
|
||||
# https://fedoraproject.org/wiki/SIGs/Python/PythonPatches
|
||||
|
||||
Patch1000: python-3.6-almalinux_support.patch
|
||||
|
||||
# ==========================================
|
||||
# Descriptions, and metadata for subpackages
|
||||
|
@ -919,6 +921,8 @@ git apply %{PATCH351}
|
|||
%patch357 -p1
|
||||
%patch359 -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
|
||||
|
@ -1843,6 +1847,9 @@ fi
|
|||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Mon May 24 2021 Andrew Lukoshko <alukoshko@almalinux.org> - 3.6.8-37.alma
|
||||
- Add AlmaLinux to supported distros
|
||||
|
||||
* Thu Mar 04 2021 Petr Viktorin <pviktori@redhat.com> - 3.6.8-37
|
||||
- Fix for CVE-2021-23336
|
||||
Resolves: rhbz#1928904
|
||||
|
|
Loading…
Reference in New Issue