|
|
|
@ -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 <s.cherevko@msvsphere-os.ru> - 3.6.0-1.inferit
|
|
|
|
|
- Add x86_64_v2 to arch list
|
|
|
|
|
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.6.0-1
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|