crun/crun.spec

90 lines
2.4 KiB
RPMSpec
Raw Normal View History

2021-08-13 10:34:01 +08:00
Name: crun
2024-04-25 11:55:40 +08:00
Version: 1.8.7
2025-03-12 02:14:23 +00:00
Release: 3
2021-08-13 10:34:01 +08:00
Summary: A fast and low-memory footprint OCI Container Runtime fully written in C.
URL: https://github.com/containers/%{name}
2025-03-12 02:14:23 +00:00
Patch1: 0001-CVE-2025-24965.patch
2021-08-13 10:34:01 +08:00
Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.xz
2024-04-25 11:55:40 +08:00
License: GPL-2.0-only
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: git-core
BuildRequires: gperf
BuildRequires: libcap-devel
BuildRequires: systemd-devel
BuildRequires: yajl-devel
BuildRequires: libseccomp-devel
BuildRequires: python3-libmount
BuildRequires: libtool
BuildRequires: protobuf-c-devel
%ifnarch riscv64
2024-04-25 11:55:40 +08:00
BuildRequires: criu-devel
Recommends: criu
Recommends: criu-libs
%endif
2024-04-25 11:55:40 +08:00
BuildRequires: python3
2021-08-13 10:34:01 +08:00
Provides: oci-runtime
%description
crun is a fast and low-memory footprint OCI Container Runtime fully written in C.
%package help
Summary: Secondary development document and manual of interface function description.
%description help
Secondary development document and manual of interface function description.
%prep
%autosetup -p1 -n %{name}-%{version}
%build
./autogen.sh
%configure --disable-silent-rules
%make_build
%install
%make_install
2022-03-04 02:18:24 +00:00
rm -rf %{buildroot}%{_prefix}/lib*
2021-08-13 10:34:01 +08:00
%files
%license COPYING
%license COPYING.libcrun
%{_bindir}/%{name}
%files help
%{_mandir}/man1/*
%changelog
2025-03-12 02:14:23 +00:00
* Fri Mar 7 2025 zhihang <zhihang161013@outlook.com> - 1.8.7-3
- Fix CVE-2025-24965
* Sun Apr 28 2024 yinsist <jianhui.oerv@isrc.iscas.ac.cn> - 1.8.7-2
- Disable criu dependency for RISC-V as criu does not currently support RISC-V
2024-04-25 11:55:40 +08:00
* Thu Apr 25 2024 lijian <lijian2@kylinos.cn> - 1.8.7-1
- update to 1.8.7
- crun: new command "crun features".
- linux: support io_priority from the OCI specs.
- cgroup: allow setting swap to 0.
- cgroup, systemd: set the memory limit on the system scope.
* Wed Apr 17 2024 huayumeng <huayumeng@kylinos.cn> - 1.8.1-2
- readonlyPaths should inherit flags from parent mount
2023-05-10 10:04:22 +08:00
* Wed May 10 2023 zmr_2020 <zhang_jian7@hoperun.com> - 1.8.1-1
- update to 1.8.1
2022-07-20 09:49:58 +08:00
* Wed Jul 20 2022 fushanqing <fushanqing@kylinos.cn> - 1.4.5-1
- update to 1.4.5
2022-05-23 13:58:13 +08:00
* Mon May 23 2022 fushanqing <fushanqing@kylinos.cn> - 1.4.3-2
- fix CVE-2022-27650.
2022-03-04 02:18:24 +00:00
* Tue Mar 1 2022 fu-shanqing <fushanqing@kylinos.cn> - 1.4.3-1
- Update to 1.4.3
2021-08-13 10:34:01 +08:00
* Tue Aug 3 2021 fu-shanqing <fushanqing@kylinos.cn> - 0.20.1-1
- Package init