- Use arch parameter for x86_64_v2 architecture in mirrorlists

This commit is contained in:
eabdullin 2024-10-18 10:59:53 +03:00
parent 0ca9448dee
commit 3b69fbec16

View File

@ -8,7 +8,7 @@
Name: almalinux-kitten-release Name: almalinux-kitten-release
Version: %{major}.%{minor} Version: %{major}.%{minor}
Release: 0.21%{?dist} Release: 0.21%{?dist}.1
Summary: %{distro} release files Summary: %{distro} release files
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://almalinux.org URL: https://almalinux.org
@ -302,6 +302,7 @@ install -p -m 0644 %{SOURCE512} %{buildroot}%{_sysconfdir}/yum.repos.d/
# Replace basearch to x86_64_v2 # Replace basearch to x86_64_v2
%ifarch x86_64_v2 %ifarch x86_64_v2
sed -i "s/\$basearch/x86_64_v2/g" %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo 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 %endif
# dnf variables # dnf variables
@ -374,6 +375,9 @@ echo '%%x86_64_v2 1' >> %{buildroot}%{_sysconfdir}/rpm/macros.x86_64_v2
%{_sysconfdir}/pki/rpm-gpg %{_sysconfdir}/pki/rpm-gpg
%changelog %changelog
* Fri Oct 18 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-0.21.1
- Use arch parameter for x86_64_v2 architecture in mirrorlists
* Wed Oct 09 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 10.0-0.21 * Wed Oct 09 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 10.0-0.21
- Rename extras to extras-common to follow CS - Rename extras to extras-common to follow CS
- Enable kdump.service - Enable kdump.service