From 9ee9cb204575d56dd1dfe9b67218d1efc13640e2 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 30 2021 18:29:04 +0000 Subject: import containernetworking-plugins-0.9.1-1.module+el8.4.0+10198+36d1d0e3 --- diff --git a/.containernetworking-plugins.metadata b/.containernetworking-plugins.metadata index c4e3f51..8a96235 100644 --- a/.containernetworking-plugins.metadata +++ b/.containernetworking-plugins.metadata @@ -1 +1 @@ -90e6339a94b210443a08a3f6ded99e7913cf6a78 SOURCES/v0.8.6.tar.gz +f7b91b7f5e3f969cd52f6736de3a336fb9f6d4fa SOURCES/v0.9.1.tar.gz diff --git a/.gitignore b/.gitignore index 88af467..6582927 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/v0.8.6.tar.gz +SOURCES/v0.9.1.tar.gz diff --git a/SPECS/containernetworking-plugins.spec b/SPECS/containernetworking-plugins.spec index 610c5e3..e061bd9 100644 --- a/SPECS/containernetworking-plugins.spec +++ b/SPECS/containernetworking-plugins.spec @@ -1,16 +1,11 @@ -%global with_debug 1 %global with_check 0 -%if 0%{?with_debug} %global _find_debuginfo_dwz_opts %{nil} %global _dwz_low_mem_die_limit 0 -%else -%global debug_package %{nil} -%endif %if ! 0%{?gobuild:1} %define gobuild(o:) \ -go build -buildmode pie -compiler gc -tags="rpm_crashtraceback no_openssl ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**}; +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 %{?**}; %define gotest(o:) go test %endif @@ -23,13 +18,17 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback no_openssl ${BUIL %global import_path %{provider_prefix} Name: containernetworking-plugins -Version: 0.8.6 +Version: 0.9.1 Release: 1%{?dist} Summary: CNI network plugins License: ASL 2.0 URL: https://%{provider_prefix} Source0: https://%{provider_prefix}/archive/v%{version}.tar.gz -ExcludeArch: ppc64 i686 +# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures +#ExclusiveArch: %%{go_arches} +# still use arch exclude as the macro above still refers %%{ix86} in RHEL8.4: +# https://bugzilla.redhat.com/show_bug.cgi?id=1905383 +ExcludeArch: %{ix86} BuildRequires: golang >= 1.12.12-4 BuildRequires: git BuildRequires: go-md2man @@ -57,6 +56,7 @@ fi export GOPATH=$(pwd)/gopath export GO111MODULE=off +export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" mkdir -p $(pwd)/bin echo "Building plugins" @@ -119,6 +119,30 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_libexecdir}/cni/* %changelog +* Sat Feb 06 2021 Jindrich Novy - 0.9.1-1 +- update to https://github.com/containernetworking/plugins/releases/tag/v0.9.1 +- Related: #1883490 + +* Thu Dec 10 2020 Jindrich Novy - 0.9.0-1 +- update to https://github.com/containernetworking/plugins/releases/tag/v0.9.0 +- Related: #1883490 + +* Tue Dec 08 2020 Jindrich Novy - 0.8.7-3 +- use ExcludeArch: i686 again as the go_arches macro is broken +- Related: #1883490 + +* Thu Nov 05 2020 Jindrich Novy - 0.8.7-2 +- attempt to fix linker error with golang-1.15 +- Related: #1883490 + +* Wed Oct 21 2020 Jindrich Novy - 0.8.7-1 +- synchronize with stream-container-tools-rhel8 +- Related: #1883490 + +* Tue Aug 11 2020 Jindrich Novy - 0.8.6-2 +- propagate proper CFLAGS to CGO_CFLAGS to assure code hardening and optimization +- Related: #1821193 + * Thu May 14 2020 Jindrich Novy - 0.8.6-1 - update to https://github.com/containernetworking/plugins/releases/tag/v0.8.6 - Related: #1821193