Compare commits
18 Commits
c8
...
changed/a8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a71ef53091 | ||
|
|
570ec9d800 | ||
| bd6971bee7 | |||
| 8d3d925919 | |||
| bdbf48b9b5 | |||
| f3cf09f99c | |||
| 17a8498e33 | |||
| 9e83f4dfcf | |||
| bd2db93423 | |||
| c89b6ec208 | |||
|
|
18cf2f85c2 | ||
| 7b5facad40 | |||
|
|
5cfeb69b84 | ||
|
|
4d68a8f267 | ||
|
|
3b658081cd | ||
|
|
64c6635563 | ||
|
|
35ba6d59a5 | ||
| 3714d7eba9 |
12
SOURCES/python-3.6-almalinux_support.patch
Normal file
12
SOURCES/python-3.6-almalinux_support.patch
Normal 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')
|
||||
|
||||
@ -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: 71%{?dist}
|
||||
Release: 71%{?dist}.alma.1
|
||||
License: Python
|
||||
|
||||
|
||||
@ -941,6 +941,9 @@ Patch465: 00465-tarfile-cves.patch
|
||||
# tarfile now validates archives to ensure member offsets are non-negative (GH-137027)
|
||||
Patch467: 00467-tarfile-cve-2025-8194.patch
|
||||
|
||||
# AlmaLinux Patch
|
||||
Patch1000: python-3.6-almalinux_support.patch
|
||||
|
||||
# (New patches go here ^^^)
|
||||
#
|
||||
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
|
||||
@ -1313,6 +1316,9 @@ GIT_DIR=$PWD git apply %{PATCH351}
|
||||
%patch465 -p1
|
||||
%patch467 -p1
|
||||
|
||||
# Applying AlmaLinux Patch
|
||||
%patch1000 -p1 -b .python-36-almalinux_support
|
||||
|
||||
# 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
|
||||
@ -2243,6 +2249,9 @@ fi
|
||||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Tue Aug 26 2025 Eduard Abdullin <eabdullin@almalinux.org> - 3.6.8-71.alma.1
|
||||
- Add AlmaLinux to supported distros
|
||||
|
||||
* Mon Aug 11 2025 Lumír Balhar <lbalhar@redhat.com> - 3.6.8-71
|
||||
- Security fix for CVE-2025-8194
|
||||
Resolves: RHEL-106333
|
||||
|
||||
Loading…
Reference in New Issue
Block a user