#911 Update guidelines/modules/ROOT/pages/Golang.adoc
Closed 2 years ago by tibbs. Opened 4 years ago by ddd.
ddd/packaging-committee master  into  master

@@ -3,7 +3,8 @@ 

  :toc:

  

  This document details best practices for packaging Golang packages. Most of it

- is automated by an extensive use of macros.

+ is automated by an extensive use of macros. These macros were introduced

+ in Fedora 31. There are no current plans to backport them to earlier releases.

  

  https://pagure.io/GoSIG/[go2rpm] is tool that automates many of these steps.

  It is advisable to try `+go2rpm import_path+` first
@@ -276,6 +277,7 @@ 

  == Dependencies

  

  Packages MUST have `+BuildRequires: go-rpm-macros+`.

+ This package is available starting with Fedora 31.

  

  This is automated by the `+%gometa+` macro.

  

Make it clear that the guidelines do not apply before Fedora 31, since the go-rpm-macros are not available there.

Can you add it into CAUTION? You can see how it is used in Rust.adoc

@ignatenkobrain OK, done in branch warning-f31. Does it look good that way?

Also, noticed there was a missing word on the following line, so I added another commit for that.

I've no idea why this was never merged, but after all this time it no longer appears to be relevant.

Pull-Request has been closed by tibbs

2 years ago
Metadata