buildah-1.26.1-4.el9

- Re-enable LTO and debuginfo
- Related: #2061316

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
Jindrich Novy 2022-05-13 09:30:02 +02:00
parent 174cf26ea9
commit 86aa01d6a6
1 changed files with 5 additions and 7 deletions

View File

@ -1,9 +1,3 @@
# https://bugzilla.redhat.com/show_bug.cgi?id=1904567
%global _lto_cflags %{nil}
%global _find_debuginfo_dwz_opts %{nil}
%global _dwz_low_mem_die_limit 0
%if 0%{?rhel} > 7 && ! 0%{?fedora}
%define gobuild(o:) \
go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v %{?**};
@ -21,7 +15,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
Epoch: 1
Name: buildah
Version: 1.26.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A command line tool used for creating OCI Images
License: ASL 2.0
URL: https://%{name}.io
@ -135,6 +129,10 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} -C docs install
%{_datadir}/%{name}/test
%changelog
* Fri May 13 2022 Jindrich Novy <jnovy@redhat.com> - 1:1.26.1-4
- Re-enable LTO and debuginfo
- Related: #2061316
* Wed May 11 2022 Jindrich Novy <jnovy@redhat.com> - 1:1.26.1-3
- BuildRequires: /usr/bin/go-md2man
- Related: #2061316