From b56abbf102a1f26581ccf77ccf810e66347d89a7 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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/SPECS/go-rpm-macros.spec b/SPECS/go-rpm-macros.spec index a6f2ef5..39513da 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,7 +251,9 @@ sed -i "s,golist ,%{golist_execdir}/golist ,g" \ %{_rpmluadir}/fedora/srpm/*.lua %changelog -## START: Generated by rpmautospec +* Tue Dec 03 2024 Sergey Cherevko - 3.6.0-1.inferit +- Add x86_64_v2 to arch list + * Tue Oct 29 2024 Troy Dawson - 3.6.0-4 - Bump release for October 2024 mass rebuild: