|
|
@ -17,11 +17,11 @@ Version: 3.6.0
|
|
|
|
%global _docdir_fmt %{name}
|
|
|
|
%global _docdir_fmt %{name}
|
|
|
|
|
|
|
|
|
|
|
|
# Master definition that will be written to macro files
|
|
|
|
# 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 golang_arches %{ix86} %{golang_arches_future}
|
|
|
|
%global gccgo_arches %{mips}
|
|
|
|
%global gccgo_arches %{mips}
|
|
|
|
%if 0%{?rhel} >= 9
|
|
|
|
%if 0%{?rhel} >= 9
|
|
|
|
%global golang_arches x86_64 aarch64 ppc64le s390x
|
|
|
|
%global golang_arches x86_64 x86_64_v2 aarch64 ppc64le s390x
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# Go sources can contain arch-specific files and our macros will package the
|
|
|
|
# Go sources can contain arch-specific files and our macros will package the
|
|
|
|
# correct files for each architecture. Therefore, move gopath to _libdir and
|
|
|
|
# correct files for each architecture. Therefore, move gopath to _libdir and
|
|
|
@ -50,7 +50,7 @@ Version: 3.6.0
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: go-rpm-macros
|
|
|
|
Name: go-rpm-macros
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease.inferit
|
|
|
|
Summary: Build-stage rpm automation for Go packages
|
|
|
|
Summary: Build-stage rpm automation for Go packages
|
|
|
|
|
|
|
|
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
License: GPL-3.0-or-later
|
|
|
@ -251,6 +251,9 @@ sed -i "s,golist ,%{golist_execdir}/golist ,g" \
|
|
|
|
%{_rpmluadir}/fedora/srpm/*.lua
|
|
|
|
%{_rpmluadir}/fedora/srpm/*.lua
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.6.0-1
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|