From 2a033943a2e09d339a14cbedc351ae8719089069 Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Jul 08 2019 12:48:00 +0000 Subject: Update guidelines/modules/ROOT/pages/Golang.adoc Make it clear that the guidelines do not apply before Fedora 31, since the go-rpm-macros are not available there. --- diff --git a/guidelines/modules/ROOT/pages/Golang.adoc b/guidelines/modules/ROOT/pages/Golang.adoc index df37482..4990c0e 100644 --- a/guidelines/modules/ROOT/pages/Golang.adoc +++ b/guidelines/modules/ROOT/pages/Golang.adoc @@ -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 @@ This is now automatically added by the `+%gometa+` macro by leveraging the == Dependencies Packages MUST have `+BuildRequires: go-rpm-macros+`. +This package is available starting with Fedora 31. This is automated by the `+%gometa+` macro.