Greetings On Thu, May 15, 2025 at 6:51 AM W. Michael Petullo via golang <golang@lists.fedoraproject.org> wrote: > > > Should the license field in the .spec file contain the license for hugo's > source code or should it contain the union of all of the licenses found > across all of the imported packages? The non-vendor-versioned form of > the hugo package used the former. >
The union is what I do. See, for example, the docker-buildx spec file at https://src.fedoraproject.org/rpms/docker-buildx/blob/rawhide/f/docker-buildx.spec. Buildx uses the Apache-2.0 license itself and the license expression for the package is the union. I also find for a vendored package like docker-buildkit that some of the golang test files will fail as the test might try a network access, for example. Check the docker-buildkit spec file (https://src.fedoraproject.org/rpms/docker-buildkit/blob/rawhide/f/docker-buildkit.spec) for a mechanism to skip specific tests and well as the gocheck flags to skip directories or directory trees. Brad -- _______________________________________________ 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