BR go-srpm-macros and go-compilers

Since for https://lists.projectatomic.io/projectatomic-archives/atomic-devel/2016-April/msg00004.html
it isn't a BR of redhat-rpm-config.
This commit is contained in:
Colin Walters 2016-04-21 14:56:50 -04:00
parent e68c6452ad
commit 6c2575f930

View File

@ -38,6 +38,8 @@ Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcomm
# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required # e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
BuildRequires: go-srpm-macros
BuildRequires: compiler(go-compiler)
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. # If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
BuildRequires: golang-github-cpuguy83-go-md2man BuildRequires: golang-github-cpuguy83-go-md2man