|
|
|
@ -16,15 +16,15 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -
|
|
|
|
|
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Name: containernetworking-plugins
|
|
|
|
|
Version: 1.3.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 1.4.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: CNI network plugins
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://%{provider_prefix}
|
|
|
|
|
Source0: https://%{provider_prefix}/archive/v%{version}.tar.gz
|
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
|
|
|
|
|
ExclusiveArch: %{go_arches}
|
|
|
|
|
BuildRequires: golang >= 1.20.10
|
|
|
|
|
BuildRequires: golang >= 1.16.6
|
|
|
|
|
BuildRequires: git
|
|
|
|
|
BuildRequires: /usr/bin/go-md2man
|
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
@ -41,6 +41,7 @@ when the container is deleted.
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -Sgit -n %{repo}-%{version}
|
|
|
|
|
rm -rf plugins/main/windows
|
|
|
|
|
sed -i 's,/opt/cni/bin/,/usr/libexec/cni/,' plugins/ipam/dhcp/systemd/cni-dhcp.service
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export ORG_PATH="%{provider}.%{provider_tld}/%{project}"
|
|
|
|
@ -122,13 +123,17 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
|
|
|
|
%{_unitdir}/cni-dhcp.socket
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 03 2023 Lokesh Mandvekar <lsm5@redhat.com> - 1:1.3.0-6
|
|
|
|
|
- rebuild because of CVE-2023-29409
|
|
|
|
|
- Related: Jira:RHEL-7453
|
|
|
|
|
* Mon Mar 04 2024 Jindrich Novy <jnovy@redhat.com> - 1:1.4.0-2
|
|
|
|
|
- rebuild
|
|
|
|
|
- Related: RHEL-18372
|
|
|
|
|
|
|
|
|
|
* Mon Sep 11 2023 Jindrich Novy <jnovy@redhat.com> - 1:1.3.0-5
|
|
|
|
|
- rebuild because of CVE-2023-39318 CVE-2023-39319 CVE-2023-39321 CVE-2023-39322
|
|
|
|
|
- Related: #RHEL-2780
|
|
|
|
|
* Tue Jan 02 2024 Jindrich Novy <jnovy@redhat.com> - 1:1.4.0-1
|
|
|
|
|
- update to https://github.com/containernetworking/plugins/releases/tag/v1.4.0
|
|
|
|
|
- Related: RHEL-2112
|
|
|
|
|
|
|
|
|
|
* Thu Sep 14 2023 Jindrich Novy <jnovy@redhat.com> - 1:1.3.0-5
|
|
|
|
|
- fix path to dhcp service
|
|
|
|
|
- Resolves: #RHEL-3140
|
|
|
|
|
|
|
|
|
|
* Fri Aug 11 2023 Jindrich Novy <jnovy@redhat.com> - 1:1.3.0-4
|
|
|
|
|
- add Epoch in Provides
|
|
|
|
|