- Add x86_64_v2 to kernel_arches

This commit is contained in:
eabdullin 2024-07-17 15:58:13 +03:00
parent 0a726e9e9c
commit 715df6d241
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
Name: kernel-srpm-macros
Version: 1.0
# when bumping version and resetting release, don't forget to bump version of kernel-rpm-macros as well
Release: 24%{?dist}
Release: 24%{?dist}.alma.1
Summary: RPM macros that list arches the full kernel is built on
# This package only exist in Fedora repositories
# The license is the standard (MIT) specified in
@ -94,7 +94,7 @@ cp -p %{sources} .
mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d
install -p -m 0644 -t %{buildroot}/%{_rpmconfigdir}/macros.d macros.kernel-srpm
%if 0%{?rhel} >= 8
sed -i 's/^%%kernel_arches.*/%%kernel_arches x86_64 s390x ppc64le aarch64/' \
sed -i 's/^%%kernel_arches.*/%%kernel_arches x86_64 x86_64_v2 s390x ppc64le aarch64/' \
%{buildroot}/%{_rpmconfigdir}/macros.d/macros.kernel-srpm
%endif
@ -136,6 +136,9 @@ install -p -m 644 -t "%{buildroot}%{_fileattrsdir}" modalias.attr
%{rrcdir}/rpmsort
%changelog
* Wed Jul 17 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.0-24.alma.1
- Add x86_64_v2 to kernel_arches
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0-24
- Bump release for June 2024 mass rebuild
@ -217,4 +220,3 @@ install -p -m 644 -t "%{buildroot}%{_fileattrsdir}" modalias.attr
* Tue Jul 21 2020 Troy Dawson <tdawson@redhat.com> - 1.0-1
- Initial build

View File

@ -1,3 +1,3 @@
# kernel_arches lists what arches the full kernel is built for.
%kernel_arches x86_64 s390x ppc64le aarch64 %{arm} riscv64
%kernel_arches x86_64 x86_64_v2 s390x ppc64le aarch64 %{arm} riscv64