!56 update runc to 1.1.3

From: @Wangjunqi123 
Reviewed-by: @Vanient, @duguhaotian 
Signed-off-by: @duguhaotian
This commit is contained in:
openeuler-ci-bot 2022-08-09 11:17:51 +00:00 committed by Gitee
commit 70325e18fc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 10 additions and 17 deletions

View File

@ -1,19 +1,14 @@
#needsrootforbuild
%global _bindir /usr/local/bin %global _bindir /usr/local/bin
%global debug_package %{nil} %global debug_package %{nil}
Name: docker-runc Name: docker-runc
Version: 1.0.0.rc3 Version: 1.1.3
Release: 303 Release: 1
Summary: runc is a CLI tool for spawning and running containers according to the OCI specification. Summary: runc is a CLI tool for spawning and running containers according to the OCI specification.
License: ASL 2.0 License: ASL 2.0
Source0: https://github.com/opencontainers/runc/archive/v1.0.0-rc3.zip Source0: https://github.com/opencontainers/runc/archive/refs/tags/v1.1.3.tar.gz
Source1: patch.tar.gz
Source2: apply-patch
Source3: series.conf
Source4: git-commit
Source5: gen-commit.sh
URL: https://www.opencontainers.org/ URL: https://www.opencontainers.org/
Vendor: OCI Vendor: OCI
@ -25,15 +20,9 @@ BuildRequires: golang >= 1.8.3 glibc-static make libseccomp-devel libseccomp-sta
runc is a CLI tool for spawning and running containers according to the OCI specification. runc is a CLI tool for spawning and running containers according to the OCI specification.
%prep %prep
cp %{SOURCE0} . %autosetup -p1 -n runc-1.1.3
cp %{SOURCE1} .
cp %{SOURCE2} .
cp %{SOURCE3} .
cp %{SOURCE4} .
%install
sh ./apply-patch
%build
mkdir -p .gopath/src/github.com/opencontainers mkdir -p .gopath/src/github.com/opencontainers
export GO111MODULE=off export GO111MODULE=off
export GOPATH=`pwd`/.gopath export GOPATH=`pwd`/.gopath
@ -43,6 +32,7 @@ make BUILDTAGS="seccomp selinux" static
rm -rf .gopath rm -rf .gopath
strip runc strip runc
%install
install -d $RPM_BUILD_ROOT/%{_bindir} install -d $RPM_BUILD_ROOT/%{_bindir}
install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc
@ -53,6 +43,9 @@ install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc
%{_bindir}/runc %{_bindir}/runc
%changelog %changelog
* Tue Aug 9 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.1.3-1
- update to 1.1.3
* Tue Aug 9 2022 zhongjiawei<zhongjiawei1@huawei.com> - 1.0.0.rc3-303 * Tue Aug 9 2022 zhongjiawei<zhongjiawei1@huawei.com> - 1.0.0.rc3-303
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA

Binary file not shown.

BIN
v1.1.3.tar.gz Normal file

Binary file not shown.