buckaroogeek added a new comment to an issue you are following: `` > > I would suggest to close the ticket and move the discussion to the > > [golang-list](https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org/) > > in Fedora or the `Fedora Golang` room in Matrix. > > Okay, I'll close this ticket for now. But first thanks for the tip with > go2rpm, i wasn't aware of it. > > > > Also, be aware that for an unvednored build there are some dependencies > > missing in Fedora: > > Yes I'm totally aware of it, thats what i'm trying to solve / work around, so > that I don't have to provide the vendordocs. But it seems like, there is no > other way than providing the vendor docs into the tarball, which get's used > for the build. > >
Are you aware of this capability from the go-rpm-macro library: %files %license vendor/modules.txt In the %files section of the spec file add the vendor/modules.txt file to the %license tag. This will autogenerate into the spec file all of the bundled Provides from the ./vendor directory. E.g.:100: Provides: bundled(golang(github.com/aws/aws-sdk-go)) = f831d5a0822a1ad72420ab18c6269bca1ddaf490 `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/issue/69 -- _______________________________________________ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to golang-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue