代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/conmon 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: conmon
Epoch: 2
Version: 2.1.5
Release: 2
Summary: Monitoring program for OCI container
License: ASL 2.0
URL: https://github.com/containers/conmon
Source0: https://github.com/containers/conmon/archive/refs/tags/v%{version}.tar.gz
Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz
BuildRequires: glib2-devel gcc git libseccomp-devel systemd-devel systemd-libs make golang
Requires: glib2 systemd-libs libseccomp
%description
Conmon is a monitoring program and communication tool between a container manager (like podman or CRI-O)
and an OCI runtime (like runc or crun) for a single container.
%prep
%autosetup
tar -xf %SOURCE1
%build
GO_MD2MAN_PATH="$(pwd)%{_bindir}"
mkdir -p _build/bin $GO_MD2MAN_PATH tools/build
cd go-md2man-*
go build -mod=vendor -o ../_build/bin/go-md2man .
cp ../_build/bin/go-md2man $GO_MD2MAN_PATH/go-md2man
cp ../_build/bin/go-md2man ../tools/build/
export PATH=$GO_MD2MAN_PATH:$PATH
cd -
export CFLAGS="${RPM_OPT_FLAGS}"
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
%make_build all
%install
make PREFIX=%{buildroot}%{_prefix} install install.crio
%files
%license LICENSE
%doc README.md
%{_bindir}/conmon
%{_libexecdir}/crio/conmon
%{_mandir}/man8/*
%changelog
* Thu Feb 02 2023 wenchaofan <349464272@qq.com> - 2:2.1.5-2
- update to 2.1.5
* Thu Jan 12 2023 xu_ping <xuping33@h-partners.com> - 2:2.1.2-2
- Fix build failure caused by missing go-md2man in tools directory.
* Sun Sep 04 2022 tianlijing <tianlijing@kylinos.cn> - 2:2.1.2-1
- update to 2.1.2
* Mon Mar 16 2022 liukuo <liukuo@kylinos.cn> - 2:2.1.0-1
- Upgrade version to 2.1.0
* Thu Sep 09 2021 lingsheng <lingsheng@huawei.com> - 2:2.0.2-4
- Set CFLAGS to build debug related rpm
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 2:2.0.2-3
- Add gcc in BuildRequires
* Mon Dec 23 2019 shijian <shijian16@huawei.com> - 2:2.0.2-2
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。