commit ed049394daf4e5358dca0b4198e3097624c890a3 Author: Sofia Boldyreva Date: Wed Jan 29 14:38:09 2025 +0100 Initial commit diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..756a405 --- /dev/null +++ b/config.yaml @@ -0,0 +1,16 @@ +actions: + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Andrei Lukoshko" + email: "alukoshko@almalinux.org" + line: + - "Add AlmaLinux to supported distros" + + - add_files: + - type: "patch" + name: "python-2.7-almalinux_support.patch" + number: 5001 diff --git a/files/python-2.7-almalinux_support.patch b/files/python-2.7-almalinux_support.patch new file mode 100644 index 0000000..599b1a7 --- /dev/null +++ b/files/python-2.7-almalinux_support.patch @@ -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') +