mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 886e5f664a)
Co-authored-by: sadlerm4 <sad_lerm@hotmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
%define debug_package %nil
|
||||
%define debug_package %nil
|
||||
# Generated by go2rpm 1.9.0
|
||||
|
||||
# https://github.com/charmbracelet/glow
|
||||
@@ -29,11 +29,10 @@ BuildRequires: git-core
|
||||
|
||||
%prep
|
||||
%goprep
|
||||
%autopatch -p1
|
||||
go mod download
|
||||
|
||||
%build
|
||||
go build -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -s -w" -buildmode=pie -o %{gobuilddir}/bin/glow %{goipath}
|
||||
go build -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -s -w" -buildmode=pie -o %{gobuilddir}/bin/glow %{goipath}/v2
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
|
||||
Reference in New Issue
Block a user