containernetworking-plugins-1.1.1-3.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:32:46 +02:00
parent e208cbb64b
commit 3b8b474994

View File

@ -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 <jnovy@redhat.com> - 1:1.1.1-3
- Re-enable LTO and debuginfo
- Related: #2061316
* Wed May 11 2022 Jindrich Novy <jnovy@redhat.com> - 1:1.1.1-2
- BuildRequires: /usr/bin/go-md2man
- Related: #2061316