Re: Help with go spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

Hau idatzi du Mark E. Fuller (fuller@xxxxxxxxxxxxxxxxx) 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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux