commit 11be3ce7304a9f07aaf0189ce97a6d74a10df487 Author: Sofia Boldyreva Date: Wed Jan 29 15:08:56 2025 +0100 Initial commit diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..7bcac6d --- /dev/null +++ b/config.yaml @@ -0,0 +1,16 @@ +actions: + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Eduard Abdullin" + email: "eabdullin@almalinux.org" + line: + - "Add AlmaLinux to supported distros" + + - add_files: + - type: "patch" + name: "python-3.6-almalinux_support.patch" + number: 1000 diff --git a/files/python-3.6-almalinux_support.patch b/files/python-3.6-almalinux_support.patch new file mode 100644 index 0000000..9332247 --- /dev/null +++ b/files/python-3.6-almalinux_support.patch @@ -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') +