|
2 years ago | |
---|---|---|
.gitignore | 3 years ago | |
LICENSE.txt | 3 years ago | |
README.md | 2 years ago | |
README.upstream.md | 3 years ago | |
Unlicense.txt | 3 years ago | |
go-rpm-macros-epel.spec | 3 years ago | |
go_mod_vendor.attr | 3 years ago | |
go_mod_vendor.prov | 3 years ago | |
macros.zzz-go-rpm-macros-epel | 3 years ago | |
macros.zzz-go-srpm-macros-epel | 3 years ago |
README.md
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.
- Add Fedora's RPM generator for bundled Provides.
go-srpm-macros-epel
go-srpm-macros-epel contains backports of certain Go SRPM macros from Fedora.
- Add support for
%golang_arches_future
and%gometa -f
. This fixes the issue brought up in rhbz#2121796 - Change
%gometa
to pull in go-rpm-macros-epel. This way, packages don't need to BuildRequire it manually.
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.