| |
@@ -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.