From 715df6d24127c2236e7e8843ce921f6afa36970a Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 17 Jul 2024 15:58:13 +0300 Subject: [PATCH] - Add x86_64_v2 to kernel_arches --- kernel-srpm-macros.spec | 8 +++++--- macros.kernel-srpm | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/kernel-srpm-macros.spec b/kernel-srpm-macros.spec index 8fd2cc2..8233eb1 100644 --- a/kernel-srpm-macros.spec +++ b/kernel-srpm-macros.spec @@ -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 - 1.0-24.alma.1 +- Add x86_64_v2 to kernel_arches + * Mon Jun 24 2024 Troy Dawson - 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 - 1.0-1 - Initial build - diff --git a/macros.kernel-srpm b/macros.kernel-srpm index 5f6bb98..bcc1c04 100644 --- a/macros.kernel-srpm +++ b/macros.kernel-srpm @@ -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