- Remove runc_dmz_selinux_nocompat and container-selinux dependency
- Resolves: RHEL-39988 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
5f084bde5b
commit
b7eb4e33d1
@ -38,10 +38,8 @@ 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
|
||||||
@ -63,7 +61,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 runc_dmz_selinux_nocompat"
|
export BUILDTAGS="selinux seccomp"
|
||||||
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}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user