AlmaLinux changes
This commit is contained in:
parent
a8b3294b63
commit
c6c16b4345
12
SOURCES/python-2.7-almalinux_support.patch
Normal file
12
SOURCES/python-2.7-almalinux_support.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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')
|
||||
|
@ -2,6 +2,8 @@
|
||||
# Conditionals and other variables controlling the build
|
||||
# ======================================================
|
||||
|
||||
%global dist %{?dist}.alma
|
||||
|
||||
# Note that the bcond macros are named for the CLI option they create.
|
||||
# "%%bcond_without" means "ENABLE by default and create a --without option"
|
||||
|
||||
@ -730,6 +732,7 @@ Patch357: 00357-CVE-2021-3177.patch
|
||||
# above:
|
||||
|
||||
Patch5000: 05000-autotool-intermediates.patch
|
||||
Patch5001: python-2.7-almalinux_support.patch
|
||||
|
||||
# ======================================================
|
||||
# Additional metadata, and subpackages
|
||||
@ -1051,6 +1054,7 @@ find -name "*~" |xargs rm -f
|
||||
%patch5000 -p0 -b .autotool-intermediates
|
||||
%endif
|
||||
|
||||
%patch5001 -p1
|
||||
|
||||
# ======================================================
|
||||
# Configuring and building the code:
|
||||
@ -1979,6 +1983,9 @@ fi
|
||||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Tue Apr 20 2021 Andrew Lukoshko <alukoshko@almalinux.org> - 2.7.18-4.alma
|
||||
- Add AlmaLinux to supported distros
|
||||
|
||||
* Fri Jan 22 2021 Charalampos Stratakis <cstratak@redhat.com> - 2.7.18-4
|
||||
- Security fix for CVE-2021-3177
|
||||
Resolves: rhbz#1919163
|
||||
|
Loading…
Reference in New Issue
Block a user