3 Star 0 Fork 0

OpenCloudOS Stream / go-rpm-macros-epel

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
README.md 1.53 KB
Copy Edit Raw Blame History
fanjunkong authored 2024-06-24 11:43 . update

go-rpm-macros-epel

The go-rpm-macros-epel contains backported Go RPM macros and generators from OpenCloudOS. 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 OpenCloudOS 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 OpenCloudOS.

  • Redefine %goinstallflags to work around rhbz#2098400.
  • Redefine %gobuild and %gotest with GO111MODULE=off set to work around RHEL-19720

go-srpm-macros-epel

go-srpm-macros-epel contains backports of certain Go SRPM macros from OpenCloudOS.

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

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/go-rpm-macros-epel.git
git@gitee.com:opencloudos-stream/go-rpm-macros-epel.git
opencloudos-stream
go-rpm-macros-epel
go-rpm-macros-epel
master

Search

344bd9b3 5694891 D2dac590 5694891