diff --git a/containernetworking-plugins.spec b/containernetworking-plugins.spec index 74c25f1..bfe2b57 100644 --- a/containernetworking-plugins.spec +++ b/containernetworking-plugins.spec @@ -1,11 +1,5 @@ %global with_check 0 -# 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%{?gobuild:1} %define gobuild(o:) \ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback no_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -linkmode=external -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v %{?**}; @@ -23,7 +17,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback no_openssl ${BUIL Epoch: 1 Name: containernetworking-plugins Version: 1.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: CNI network plugins License: ASL 2.0 URL: https://%{provider_prefix} @@ -128,6 +122,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_unitdir}/cni-dhcp.socket %changelog +* Fri May 13 2022 Jindrich Novy - 1:1.1.1-3 +- Re-enable LTO and debuginfo +- Related: #2061316 + * Wed May 11 2022 Jindrich Novy - 1:1.1.1-2 - BuildRequires: /usr/bin/go-md2man - Related: #2061316