runc-1.1.10-2.el9
- require container-selinux >= 2.224.0 for dmz feature - Related: Jira:RHEL-2112 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
53d394cf63
commit
33bb8695f9
10
runc.spec
10
runc.spec
@ -20,7 +20,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
|
|||||||
Epoch: 4
|
Epoch: 4
|
||||||
Name: %{repo}
|
Name: %{repo}
|
||||||
Version: 1.1.10
|
Version: 1.1.10
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: CLI for running Open Containers
|
Summary: CLI for running Open Containers
|
||||||
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
|
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
|
||||||
#ExclusiveArch: %%{go_arches}
|
#ExclusiveArch: %%{go_arches}
|
||||||
@ -35,8 +35,10 @@ BuildRequires: golang >= 1.17.7
|
|||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: /usr/bin/go-md2man
|
BuildRequires: /usr/bin/go-md2man
|
||||||
BuildRequires: libseccomp-devel >= 2.5
|
BuildRequires: libseccomp-devel >= 2.5
|
||||||
|
BuildRequires: container-selinux >= 2.224.0
|
||||||
Requires: libseccomp >= 2.5
|
Requires: libseccomp >= 2.5
|
||||||
Requires: criu
|
Requires: criu
|
||||||
|
Requires: container-selinux >= 2.224.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The runc command can be used to start containers which are packaged
|
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 GO111MODULE=off
|
||||||
export GOPATH=%{gopath}:$(pwd)/GOPATH
|
export GOPATH=%{gopath}:$(pwd)/GOPATH
|
||||||
export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
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}"
|
export LDFLAGS="-X main.gitCommit= -X main.version=%{version}"
|
||||||
%gobuild -o %{name} %{import_path}
|
%gobuild -o %{name} %{import_path}
|
||||||
|
|
||||||
@ -82,6 +84,10 @@ make install install-man install-bash DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
|
|||||||
%{_datadir}/bash-completion/completions/%{name}
|
%{_datadir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* 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
|
- update to https://github.com/opencontainers/runc/releases/tag/v1.1.10
|
||||||
- Related: RHEL-2112
|
- Related: RHEL-2112
|
||||||
|
Loading…
Reference in New Issue
Block a user