import CS runc-1.1.12-2.el9

This commit is contained in:
eabdullin 2024-03-28 11:44:49 +00:00
parent d974e958d4
commit 254659300c
3 changed files with 34 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/v1.1.9.tar.gz
SOURCES/v1.1.12.tar.gz

View File

@ -1 +1 @@
432b3efbe34aaf71e802599946222b9d4918a49b SOURCES/v1.1.9.tar.gz
3fac650358578b8694012a44b1d5b156523c3402 SOURCES/v1.1.12.tar.gz

View File

@ -19,8 +19,8 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
Epoch: 4
Name: %{repo}
Version: 1.1.9
Release: 1%{?dist}
Version: 1.1.12
Release: 2%{?dist}
Summary: CLI for running Open Containers
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
#ExclusiveArch: %%{go_arches}
@ -31,12 +31,14 @@ License: ASL 2.0
URL: %{git0}
Source0: %{git0}/archive/v%{version}.tar.gz
Provides: oci-runtime
BuildRequires: golang >= 1.17.7
BuildRequires: golang >= 1.20.10
BuildRequires: git
BuildRequires: /usr/bin/go-md2man
BuildRequires: libseccomp-devel >= 2.5
BuildRequires: container-selinux >= 2.224.0
Requires: libseccomp >= 2.5
Requires: criu
Recommends: criu
Requires: container-selinux >= 2.224.0
%description
The runc command can be used to start containers which are packaged
@ -58,7 +60,7 @@ pushd GOPATH/src/%{import_path}
export GO111MODULE=off
export GOPATH=%{gopath}:$(pwd)/GOPATH
export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
export BUILDTAGS="selinux seccomp"
export BUILDTAGS="selinux seccomp runc_dmz_selinux_nocompat"
export LDFLAGS="-X main.gitCommit= -X main.version=%{version}"
%gobuild -o %{name} %{import_path}
@ -82,6 +84,31 @@ make install install-man install-bash DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
%{_datadir}/bash-completion/completions/%{name}
%changelog
* Fri Feb 16 2024 Jindrich Novy <jnovy@redhat.com> - 4:1.1.12-2
- Switch dependency on criu to Recommends
- Resolves: RHEL-25116
* Thu Feb 01 2024 Jindrich Novy <jnovy@redhat.com> - 4:1.1.12-1
- update to https://github.com/opencontainers/runc/releases/tag/v1.1.12
- Related: RHEL-2112
* Tue Jan 02 2024 Jindrich Novy <jnovy@redhat.com> - 4:1.1.11-1
- update to https://github.com/opencontainers/runc/releases/tag/v1.1.11
- Related: RHEL-2112
* Sat Dec 02 2023 Lokesh Mandvekar <lsm5@redhat.com> - 4:1.1.10-3
- Rebuild for CVEs: CVE-2023-39321 CVE-2023-39322 CVE-2023-29409
- Related: Jira:RHEL-2792
- Related: Jira:RHEL-7454
* Fri Nov 03 2023 Jindrich Novy <jnovy@redhat.com> - 4:1.1.10-2
- require container-selinux >= 2.224.0 for dmz feature
- Related: Jira:RHEL-2112
* Wed Nov 01 2023 Jindrich Novy <jnovy@redhat.com> - 4:1.1.10-1
- update to https://github.com/opencontainers/runc/releases/tag/v1.1.10
- Related: RHEL-2112
* Fri Aug 11 2023 Jindrich Novy <jnovy@redhat.com> - 4:1.1.9-1
- update to https://github.com/opencontainers/runc/releases/tag/v1.1.9
- Related: #2176063