From b506beab2087d78d9e7be2ca73ae9545a1368658 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Mon, 2 Dec 2024 20:04:57 +0300 Subject: [PATCH] Add x86_64_v2 to arch list --- SPECS/go-rpm-macros.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/SPECS/go-rpm-macros.spec b/SPECS/go-rpm-macros.spec index 93b2df5..e51e227 100644 --- a/SPECS/go-rpm-macros.spec +++ b/SPECS/go-rpm-macros.spec @@ -17,11 +17,11 @@ Version: 3.6.0 %global _docdir_fmt %{name} # Master definition that will be written to macro files -%global golang_arches_future x86_64 %{arm} aarch64 ppc64le s390x riscv64 +%global golang_arches_future x86_64 x86_64_v2 %{arm} aarch64 ppc64le s390x riscv64 %global golang_arches %{ix86} %{golang_arches_future} %global gccgo_arches %{mips} %if 0%{?rhel} >= 9 -%global golang_arches x86_64 aarch64 ppc64le s390x +%global golang_arches x86_64 x86_64_v2 aarch64 ppc64le s390x %endif # Go sources can contain arch-specific files and our macros will package the # correct files for each architecture. Therefore, move gopath to _libdir and @@ -50,7 +50,7 @@ Version: 3.6.0 %endif Name: go-rpm-macros -Release: %autorelease +Release: %autorelease.inferit Summary: Build-stage rpm automation for Go packages License: GPL-3.0-or-later @@ -251,6 +251,9 @@ sed -i "s,golist ,%{golist_execdir}/golist ,g" \ %{_rpmluadir}/fedora/srpm/*.lua %changelog +* Mon Dec 02 2024 Sergey Cherevko - 3.6.0-1.inferit +- Add x86_64_v2 to arch list + * Tue Nov 26 2024 MSVSphere Packaging Team - 3.6.0-1 - Rebuilt for MSVSphere 10