From f5e5bf32566f34ba084e6c832ce5aca62baaa724 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 18 Jul 2024 10:33:37 +0300 Subject: [PATCH] - Add x86_64_v2 to arch list --- changelog | 3 +++ go-rpm-macros.spec | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/changelog b/changelog index 2ec202b..c15c094 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,6 @@ +* Thu Jul 18 2024 Eduard Abdullin - 3.0.12-3.alma.1 +- Add x86_64_v2 to arch list + * Sat Jan 22 2022 Robert-André Mauchin - 3.0.12-3 - Update to 3.0.12 diff --git a/go-rpm-macros.spec b/go-rpm-macros.spec index 7fe1690..c2ccd45 100644 --- a/go-rpm-macros.spec +++ b/go-rpm-macros.spec @@ -7,11 +7,11 @@ Version: 3.3.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 @@ -40,7 +40,7 @@ Version: 3.3.0 %endif Name: go-rpm-macros -Release: %autorelease +Release: %autorelease.alma.1 Summary: Build-stage rpm automation for Go packages License: GPL-3.0-or-later