A recent PR reminded me that I never properly announced the new (well,
four months old) bundled() Provides generator for Golang projects.
This can be used to simplify generating these Provides when bundling is
justified in Fedora or for (EP)EL. Simply mark the vendor/modules.txt
file generated by `go mod vendor` with `%license` and the generator will
take care of the rest.
This removes the need for long lists of Provides that clutter specfiles
and have to be updated after each upstream release. It's up to package
maintainers to inspect the Provides for correctness when opting in to
this generator. Please let us know if you find any bugs.
The generator is available in all Fedora branches and on EPEL 9 (part of
go-rpm-macros-epel that shadows RHEL's go-rpm-macros). go-rpm-macros has
been updated in c9s, so I'll remove the generator from
go-rpm-macros-epel when the next RHEL 9 minor release comes out.
Maxwell G (@gotmax23)