- Use x86_64_v2 instead of in repo files.
This commit is contained in:
parent
1eb785bbcb
commit
0158674bdc
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: almalinux-kitten-release
|
Name: almalinux-kitten-release
|
||||||
Version: %{major}.%{minor}
|
Version: %{major}.%{minor}
|
||||||
Release: 0.18%{?dist}.1
|
Release: 0.18%{?dist}.2
|
||||||
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
|
||||||
@ -297,6 +297,11 @@ install -p -m 0644 %{SOURCE511} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
|||||||
install -p -m 0644 %{SOURCE512} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
install -p -m 0644 %{SOURCE512} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
||||||
%endif
|
%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
|
# dnf variables
|
||||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
|
||||||
echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
|
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
|
%{_sysconfdir}/pki/rpm-gpg
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 20 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-0.18.1
|
||||||
- Add x86_64_v2 macros
|
- Add x86_64_v2 macros
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user