- Use x86_64_v2 instead of in repo files.

This commit is contained in:
eabdullin 2024-09-19 12:12:02 +03:00
parent 1eb785bbcb
commit 0158674bdc

View File

@ -10,7 +10,7 @@
Name: almalinux-kitten-release
Version: %{major}.%{minor}
Release: 0.18%{?dist}.1
Release: 0.18%{?dist}.2
Summary: %{distro} release files
License: GPL-2.0-or-later
URL: https://almalinux.org
@ -297,6 +297,11 @@ install -p -m 0644 %{SOURCE511} %{buildroot}%{_sysconfdir}/yum.repos.d/
install -p -m 0644 %{SOURCE512} %{buildroot}%{_sysconfdir}/yum.repos.d/
%endif
# Replace basearch to x86_64_v2
%ifarch x86_64_v2
sed -i "s/\$basearch/x86_64_v2/g" %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo
%endif
# dnf variables
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
@ -367,6 +372,9 @@ echo '%%x86_64_v2 1' >> %{buildroot}%{_sysconfdir}/rpm/macros.x86_64_v2
%{_sysconfdir}/pki/rpm-gpg
%changelog
* Thu Sep 19 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-0.18.2
- Use x86_64_v2 instead of $basearch in repo files.
* Tue Aug 20 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-0.18.1
- Add x86_64_v2 macros