|
|
@ -8,7 +8,7 @@ Version: 3.2.0
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
%global golang_arches_future x86_64 %{arm} aarch64 ppc64le s390x
|
|
|
|
%global golang_arches %{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 aarch64 ppc64le s390x
|
|
|
@ -36,7 +36,7 @@ Version: 3.2.0
|
|
|
|
ExclusiveArch: %{golang_arches} %{gccgo_arches}
|
|
|
|
ExclusiveArch: %{golang_arches} %{gccgo_arches}
|
|
|
|
|
|
|
|
|
|
|
|
Name: go-rpm-macros
|
|
|
|
Name: go-rpm-macros
|
|
|
|
Release: 3%{?dist}.inferit
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Build-stage rpm automation for Go packages
|
|
|
|
Summary: Build-stage rpm automation for Go packages
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
License: GPLv3+
|
|
|
@ -78,9 +78,7 @@ Patch1: golist-bootstrap-cli-no-vendor.patch
|
|
|
|
# RHEL 8 only provides the macros.go-srpm file which includes gobuild and gotest.
|
|
|
|
# RHEL 8 only provides the macros.go-srpm file which includes gobuild and gotest.
|
|
|
|
# C9S also only provides the macros.go-srpm file but it also follows upstream which includes gobuild and gotest in the macros.go-compilers-gcc.
|
|
|
|
# C9S also only provides the macros.go-srpm file but it also follows upstream which includes gobuild and gotest in the macros.go-compilers-gcc.
|
|
|
|
# For a simple fix, this patch ports both RHEL 8 macros to macros.go-srpm.
|
|
|
|
# For a simple fix, this patch ports both RHEL 8 macros to macros.go-srpm.
|
|
|
|
# This also sets the GOAMD64 variable to v2
|
|
|
|
|
|
|
|
# Resolves: rhbz#1965292
|
|
|
|
# Resolves: rhbz#1965292
|
|
|
|
# Resolves: RHEL-5529
|
|
|
|
|
|
|
|
Patch2: add-gobuild-and-gotest.patch
|
|
|
|
Patch2: add-gobuild-and-gotest.patch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -253,21 +251,10 @@ sed -i "s,golist,%{golist_execdir}/golist,g" %{buildroot}%{_bindir}/go-rpm-integ
|
|
|
|
%{_spectemplatedir}/*.spec
|
|
|
|
%{_spectemplatedir}/*.spec
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
|
|
|
* Sun Jan 28 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.2.0-3.inferit
|
|
|
|
|
|
|
|
- Drop ix86 arch from exclusive
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 22 2023 Alejandro Sáez <asm@redhat.com> - 3.2.0-3
|
|
|
|
|
|
|
|
- Update add-gobuild-and-gotest.patch to add GOPPC64 and GOAMD64
|
|
|
|
|
|
|
|
- Resolves: RHEL-5529
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 28 2023 Alejandro Sáez <asm@redhat.com> - 3.2.0-2
|
|
|
|
* Fri Jul 28 2023 Alejandro Sáez <asm@redhat.com> - 3.2.0-2
|
|
|
|
- Add golang_arches_future
|
|
|
|
- Add golang_arches_future
|
|
|
|
- Resolves: rhbz#2227224
|
|
|
|
- Resolves: rhbz#2227224
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.2.0-1
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 9.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 23 2022 Alejandro Sáez <asm@redhat.com> - 3.2.0-1
|
|
|
|
* Wed Nov 23 2022 Alejandro Sáez <asm@redhat.com> - 3.2.0-1
|
|
|
|
- Update to 3.2.0
|
|
|
|
- Update to 3.2.0
|
|
|
|
- Add add-gobuild-and-gotest.patch
|
|
|
|
- Add add-gobuild-and-gotest.patch
|
|
|
|