https://bugzilla.redhat.com/show_bug.cgi?id=2176241
--- Comment #8 from Mikel Olasagasti Uranga mikel@olasagasti.info ---
%license LICENSE cpiud-LICENSE
You've a typo in cpiud and thus fails to build.
Checking upstream package, I see this spec builds and installs cmd/sysinfo binary. I understand that it's a test cmd to verify the library, but I'm not sure if it has any benefit for users. If it's not a requirement then I'll rather go with the package being a devel package only, and these parts could be removed:
(...) %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done (...) install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ (...) %files %license LICENSE cpiud-LICENSE %doc README.md %{_bindir}/*
But this line would be required:
%global debug_package %{nil}
You can check package `golang-github-cloudflare-circl` as example.