diff --git a/buildah.spec b/buildah.spec index 43fc8f4..3e61ea0 100644 --- a/buildah.spec +++ b/buildah.spec @@ -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 - 1:1.26.1-4 +- Re-enable LTO and debuginfo +- Related: #2061316 + * Wed May 11 2022 Jindrich Novy - 1:1.26.1-3 - BuildRequires: /usr/bin/go-md2man - Related: #2061316