https://bugzilla.redhat.com/show_bug.cgi?id=1290523
--- Comment #3 from Jan Chaloupka jchaloup@redhat.com --- Heh :D
- remove BuildRequires: go-srpm-macros as the macro is in the minimal buildroot - ExclusiveArch: %{go_arches} is ok as the package is supposed to be built only on architectures where docker is
This can be shortened
%files %if 0%{?fedora} >= 23 %license LICENSE %else %doc LICENSE %doc README.md %endif
to
#define license tag if not already defined %{!?_licensedir:%global license %doc}
%files %license LICENSE %doc README.md