python2/SOURCES/python-2.7-almalinux_support.patch

13 lines
568 B
Diff

diff -Naur Python-2.7.17.orig/Lib/platform.py Python-2.7.17.alma/Lib/platform.py
--- Python-2.7.17.orig/Lib/platform.py 2019-10-19 18:38:44.000000000 +0000
+++ Python-2.7.17.alma/Lib/platform.py 2021-03-22 07:54:35.254207418 +0000
@@ -291,7 +291,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')