diff --git a/skopeo.spec b/skopeo.spec index 0230641..6ae948f 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -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 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. BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} BuildRequires: golang-github-cpuguy83-go-md2man