From 3b69fbec164a99f21081b9f855faeebb8ceef926 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Fri, 18 Oct 2024 10:59:53 +0300 Subject: [PATCH] - Use arch parameter for x86_64_v2 architecture in mirrorlists --- almalinux-kitten-release.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/almalinux-kitten-release.spec b/almalinux-kitten-release.spec index c4348e8..5294c75 100644 --- a/almalinux-kitten-release.spec +++ b/almalinux-kitten-release.spec @@ -8,7 +8,7 @@ Name: almalinux-kitten-release Version: %{major}.%{minor} -Release: 0.21%{?dist} +Release: 0.21%{?dist}.1 Summary: %{distro} release files License: GPL-2.0-or-later URL: https://almalinux.org @@ -302,6 +302,7 @@ install -p -m 0644 %{SOURCE512} %{buildroot}%{_sysconfdir}/yum.repos.d/ # Replace basearch to x86_64_v2 %ifarch x86_64_v2 sed -i "s/\$basearch/x86_64_v2/g" %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo +sed -i '/^mirrorlist=/ s|$|?arch=x86_64_v2|g' %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo %endif # dnf variables @@ -374,6 +375,9 @@ echo '%%x86_64_v2 1' >> %{buildroot}%{_sysconfdir}/rpm/macros.x86_64_v2 %{_sysconfdir}/pki/rpm-gpg %changelog +* Fri Oct 18 2024 Eduard Abdullin - 10.0-0.21.1 +- Use arch parameter for x86_64_v2 architecture in mirrorlists + * Wed Oct 09 2024 Andrew Lukoshko - 10.0-0.21 - Rename extras to extras-common to follow CS - Enable kdump.service