- Use arch parameter for x86_64_v2 architecture in mirrorlists
This commit is contained in:
parent
0ca9448dee
commit
3b69fbec16
@ -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 <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
|
||||
- Rename extras to extras-common to follow CS
|
||||
- Enable kdump.service
|
||||
|
Loading…
Reference in New Issue
Block a user