Hi Mark,

Hau idatzi du Mark E. Fuller (ful...@fedoraproject.org) erabiltzaileak
(2022 eka. 3, or. (17:52)):
>
> Hi all,
>
> I'm fairly new to go and am looking to make a spec file and build
> jsonnet (https://github.com/google/go-jsonnet/, https://jsonnet.org/).

go-jsonnet is already packaged:

https://src.fedoraproject.org/rpms/golang-github-google-jsonnet/

If you want to update or extend it, feel free to open a pull request.

> 1) What is the preferred way to ignore (or remove) unnecessary
> BUILD.bazel files? There is one in cmd/ which is obviously not a
> buildable command, and so this results in an error in the naive use case.

You can remove the files in the %prep section for example.

> 2) How should nested  folders in cmd/ be built? Here, again, the basic
> template throws an error since cmd/internal contains no *.go files, only
> a BUILD.bezel file and a nested cmd directory.

Look at the spec file of the already packaged version. If something is
missing you can add following the example.

Kind regards,
Mikel
_______________________________________________
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 on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to