import go-rpm-macros-3.2.0-2.el9

i9c-beta changed/i9c-beta/go-rpm-macros-3.2.0-2.el9
MSVSphere Packaging Team 1 year ago
parent d156605ebe
commit cd03304d6f

@ -7,7 +7,8 @@ Version: 3.2.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 %{ix86} x86_64 %{arm} aarch64 ppc64le s390x %global golang_arches_future x86_64 %{arm} aarch64 ppc64le s390x
%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
@ -35,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: 1%{?dist} Release: 2%{?dist}
Summary: Build-stage rpm automation for Go packages Summary: Build-stage rpm automation for Go packages
License: GPLv3+ License: GPLv3+
@ -126,7 +127,7 @@ macros provided by go-rpm-macros to create Go packages.
%patch0 -p1 %patch0 -p1
%writevars -f rpm/macros.d/macros.go-srpm golang_arches gccgo_arches gopath %writevars -f rpm/macros.d/macros.go-srpm golang_arches golang_arches_future gccgo_arches gopath
for template in templates/rpm/*\.spec ; do for template in templates/rpm/*\.spec ; do
target=$(echo "${template}" | sed "s|^\(.*\)\.spec$|\1-bare.spec|g") target=$(echo "${template}" | sed "s|^\(.*\)\.spec$|\1-bare.spec|g")
grep -v '^#' "${template}" > "${target}" grep -v '^#' "${template}" > "${target}"
@ -250,6 +251,10 @@ sed -i "s,golist,%{golist_execdir}/golist,g" %{buildroot}%{_bindir}/go-rpm-integ
%{_spectemplatedir}/*.spec %{_spectemplatedir}/*.spec
%changelog %changelog
* Fri Jul 28 2023 Alejandro Sáez <asm@redhat.com> - 3.2.0-2
- Add golang_arches_future
- Resolves: rhbz#2227224
* Fri Apr 14 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.2.0-1 * Fri Apr 14 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.2.0-1
- Rebuilt for MSVSphere 9.2 beta - Rebuilt for MSVSphere 9.2 beta

Loading…
Cancel
Save