代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/runc 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global gohomepath github.com/opencontainers
%global goipath %{gohomepath}/runc
Summary: runc is a CLI tool for spawning and running containers according to the OCI specification.
Name: runc
Version: 1.1.7
Release: 1%{?dist}
License: ASL 2.0
URL: https://%{goipath}
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: golang glibc-static make libseccomp-devel libseccomp-static
BuildRequires: go-md2man libselinux-devel git go-rpm-macros
Provides: oci-runtime
%description
runc is a CLI tool for spawning and running containers according to the OCI specification.
%prep
%autosetup -n runc-%{version} -p1 -Sgit
%build
export CGO_CFLAGS=$CFLAGS
export BUILDTAGS="seccomp selinux"
CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-flto=auto//g')
%ifarch x86_64
export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full"
%endif
export GOPATH=$PWD/.gopath
mkdir -p ${GOPATH}/src/%{gohomepath}
ln -sfn $PWD $GOPATH/src/%{goipath}
%gobuild -o runc %{goipath}
%install
install -p -Dm 755 runc %{buildroot}/%{_bindir}/runc
man/md2man-all.sh
install -d -p %{buildroot}%{_mandir}/man8
install -p -m 0644 man/man8/*.8 %{buildroot}%{_mandir}/man8/.
install -d -p %{buildroot}%{_datadir}/bash-completion/completions
install -p -Dm 0644 contrib/completions/bash/%{name} \
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
%files
%license LICENSE
%doc MAINTAINERS_GUIDE.md PRINCIPLES.md README.md CONTRIBUTING.md
%{_bindir}/%{name}
%{_datadir}/bash-completion/completions/%{name}
%{_mandir}/man8/%{name}*
%changelog
* Tue Jul 18 2023 Kui Ji <[email protected]> - 1.1.7-1
- upgrade to 1.1.7
* Fri Apr 28 2023 OpenCloudOS Release Engineering <[email protected]> - 1.1.4-6
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <[email protected]> - 1.1.4-5
- Rebuilt for OpenCloudOS Stream 23
* Mon Dec 26 2022 Shuo Wang <[email protected]> - 1.1.4-4
- provides oci-runtime
* Fri Dec 16 2022 Shuo Wang <[email protected]> - 1.1.4-3
- apply %gobuild macro and enable debuginfo
* Thu Dec 15 2022 Shuo Wang <[email protected]> - 1.1.4-2
- enable man
* Wed Dec 14 2022 Shuo Wang <[email protected]> - 1.1.4-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。