strip binary files
This commit is contained in:
parent
9127b6f52c
commit
f0838ca529
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: %{project}-%{repo}
|
Name: %{project}-%{repo}
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Libraries for use by writing CNI plugin
|
Summary: Libraries for use by writing CNI plugin
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/containernetworking/plugins
|
URL: https://github.com/containernetworking/plugins
|
||||||
@ -213,6 +213,7 @@ GO111MODULE=off CGO_ENABLED=0 GOPATH=$TMPDIR go build -tags "$TAGS" \
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -p %{buildroot}%{_libexecdir}/cni/
|
install -d -p %{buildroot}%{_libexecdir}/cni/
|
||||||
|
strip bin/*
|
||||||
install -p -m 0755 bin/* %{buildroot}/%{_libexecdir}/cni
|
install -p -m 0755 bin/* %{buildroot}/%{_libexecdir}/cni
|
||||||
cp %{_builddir}/cni %{buildroot}%{_libexecdir}/cni/
|
cp %{_builddir}/cni %{buildroot}%{_libexecdir}/cni/
|
||||||
install -d -p %{buildroot}/%{gopath}/src/github.com/containernetworking/plugins/
|
install -d -p %{buildroot}/%{gopath}/src/github.com/containernetworking/plugins/
|
||||||
@ -330,6 +331,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 21 2024 zmr_2020 <zhang_jian7@hoperun.com> - 1.1.1-5
|
||||||
|
- strip binary files
|
||||||
|
|
||||||
* Thu Dec 28 2023 yaoxin <yao_xin001@hoperun.com> - 1.1.1-4
|
* Thu Dec 28 2023 yaoxin <yao_xin001@hoperun.com> - 1.1.1-4
|
||||||
- Rebuild for golang cves: CVE-2023-24534,CVE-2023-24536,CVE-2023-24537 and CVE-2023-24538
|
- Rebuild for golang cves: CVE-2023-24534,CVE-2023-24536,CVE-2023-24537 and CVE-2023-24538
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user