!87 runc: move install path to /usr/bin

From: @zhong-jiawei-1 
Reviewed-by: @Vanient, @zhangsong234, @duguhaotian 
Signed-off-by: @duguhaotian
This commit is contained in:
openeuler-ci-bot 2022-10-18 09:32:05 +00:00 committed by Gitee
commit 8eb8dc2195
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 13 additions and 7 deletions

View File

@ -5,11 +5,11 @@
# Author: jingrui@huawei.com
# Create: 2019-03-02
pkg=runc-1.0.0-rc3
pkg=runc-1.1.3
cwd=$PWD
src=$cwd/$pkg
unzip v1.0.0-rc3.zip
tar zxvf v1.1.3.tar.gz
if [ ! -d patch ];then
tar -xzf patch.tar.gz
fi
@ -25,4 +25,4 @@ done <"$series"
cd $cwd
cp -rf $src/* .
rm -rf runc-1.0.0-rc3
rm -rf runc-1.1.3

View File

@ -1 +1 @@
b49101bf7dc504614d65a73bc3a5d8d6033962ff
9e829af4b75cbee163a3e444a4234a7d6f6a2127

View File

@ -1,9 +1,9 @@
%global _bindir /usr/local/bin
%global _bindir /usr/bin
%global debug_package %{nil}
Name: docker-runc
Version: 1.1.3
Release: 3
Release: 4
Summary: runc is a CLI tool for spawning and running containers according to the OCI specification.
License: ASL 2.0
@ -43,6 +43,12 @@ install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc
%{_bindir}/runc
%changelog
* Tue Oct 18 2022 zhongjiawei<zhongjiawei1@huawei.com> - 1.1.3-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:move install path to /usr/bin
* Tue Aug 16 2022 zhongjiawei<zhongjiawei1@huawei.com> - 1.1.3-3
- Type:bugfix
- CVE:NA
@ -76,7 +82,7 @@ install -p -m 755 runc $RPM_BUILD_ROOT/%{_bindir}/runc
* Thu Feb 10 2022 fushanqing <fushanqing@kylinos.cn> - 1.0.0.rc3-116
- remove "%global _bindir /usr/local/bin"
* Tue Jan 26 2022 songyanting <songyanting@huawei.com> - 1.0.0.rc3-115
* Wed Jan 26 2022 songyanting <songyanting@huawei.com> - 1.0.0.rc3-115
- Type:bugfix
- CVE:NA
- SUG:NA