import CS runc-1.1.12-1.module_el8+885+7da147f3

This commit is contained in:
eabdullin 2024-03-28 13:43:07 +00:00
parent 1f0f603b9a
commit c0b1955f03
3 changed files with 19 additions and 4 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

@ -22,7 +22,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
Epoch: 1
Name: %{repo}
Version: 1.1.9
Version: 1.1.12
Release: 1%{?dist}
Summary: CLI for running Open Containers
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
@ -38,8 +38,10 @@ BuildRequires: golang >= 1.17.7
BuildRequires: git
BuildRequires: /usr/bin/go-md2man
BuildRequires: libseccomp-devel >= 2.5
BuildRequires: container-selinux >= 2.224.0
Requires: libseccomp >= 2.5
Requires: criu
Requires: container-selinux >= 2.224.0
%description
The runc command can be used to start containers which are packaged
@ -61,7 +63,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}
@ -85,6 +87,19 @@ make install install-man install-bash DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
%{_datadir}/bash-completion/completions/%{name}
%changelog
* Thu Feb 01 2024 Jindrich Novy <jnovy@redhat.com> - 1:1.1.12-1
- update to https://github.com/opencontainers/runc/releases/tag/v1.1.12
- Related: Jira:RHEL-2110
* Tue Jan 02 2024 Jindrich Novy <jnovy@redhat.com> - 1:1.1.11-1
- update to https://github.com/opencontainers/runc/releases/tag/v1.1.11
- Related: Jira:RHEL-2110
* Wed Nov 08 2023 Jindrich Novy <jnovy@redhat.com> - 1:1.1.10-1
- update to https://github.com/opencontainers/runc/releases/tag/v1.1.10
- require container-selinux >= 2.224.0 for dmz feature
- Related: Jira:RHEL-2110
* Fri Aug 11 2023 Jindrich Novy <jnovy@redhat.com> - 1:1.1.9-1
- update to https://github.com/opencontainers/runc/releases/tag/v1.1.9
- Related: #2176055