https://bugzilla.redhat.com/show_bug.cgi?id=1258182 --- Comment #5 from Jan Chaloupka <jchaloup@xxxxxxxxxx> --- As it stands, go-srpm-macros can not be removed from minimal buildroot if %{go_arches} macro is about to be used with ExclusiveArch. Reasoning: Building of rpm has three phases: 1) generate srpm on a random machine as noarch 2) choose architectures and regenerate noarch srpm as arch specific srpm 3) from arch specific srpm build rpm At phase 1 and 2, 'rpmbuild -bs --target noarch/arch --nodeps ...' is used with --nodeps options. So when srpm is generated no package tagged as BuildRequires is installed. Srpm is generated in minimal buildroot. So the only way how to get go-srpm-macros into the buildroot where srpm is generated is via redhat-rpm-config and have it installed in the minimal buildroot. I will update go-compilers and suggest new solution. After discussion with vondruch, one of possible solutions is to remove ExclusiveArch tag a thus no need for go_arches macro. At the same time assuming all architectures has a golang language compiler. Will checkout what is an impact of this decision. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review