Name: golang-compiler-srpm-macros Version: 0 Release: 1%{?dist} Summary: Stub package to add go compiler build macros for EL7 License: CC0 # Provide the name to fix compiler usability Provides: go-srpm-macros = 0 BuildArch: noarch %description %{summary}. %prep # Nothing to prep %build # Nothing to build %install mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d echo "%%golang_arches %%{ix86} x86_64 %%{arm} aarch64 ppc64le s390x" > %{buildroot}%{_rpmconfigdir}/macros.d/macros.golang-compiler-srpm %files %{_rpmconfigdir}/macros.d/macros.golang-compiler-srpm %changelog * Wed May 6 2020 Neal Gompa - Initial package