From 98023de85c82b2f29537b0d626ffae3eaae82a3b Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 19 Nov 2023 21:04:09 +0300 Subject: [PATCH] Added SOURCES/README.md --- SOURCES/README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 SOURCES/README.md diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..11794a1 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,34 @@ +# go-rpm-macros-epel + +The go-rpm-macros-epel contains backported Go RPM macros and generators from +Fedora. It also contains hotfixes for critical bugs in RHEL 9's go-rpm-macros +that were never addressed. The goal is for EPEL Go packaging to work as +similarly as possible to Fedora Go packaging. At the same time, this package +avoids overriding macros from RHEL more than it has to. + +This package contains the following backports: + +## go-rpm-macros-epel +go-rpm-macros-epel contains backports of certain Go RPM macros from Fedora. + +- Redefine %goinstallflags to work around [rhbz#2098400](https://bugzilla.redhat.com/show_bug.cgi?id=2098400). + +## go-srpm-macros-epel + +go-srpm-macros-epel contains backports of certain Go SRPM macros from Fedora. + +- Change `%gometa` to pull in go-rpm-macros-epel. + This way, packages don't need to BuildRequire it manually. +- Backport `-L` flag to `%gometa` and `%gorpmname` to support the new naming + scheme for compat packages. + +## go-rpm-macros-golist-symlink +go-rpm-macros-golist-symlink provides a symlink from /usr/bin to +go-rpm-macros's bundled golist, which is installed in +/usr/libexec/go-rpm-macros. This allows the macros that expect to find golist +in $PATH to work properly. + +This package is split out and namespaced to allow the upstream golist to be +packaged as golist. + +This works around [rhbz#2100618](https://bugzilla.redhat.com/show_bug.cgi?id=2100618).