add selinux to BUILDTAGS in addition to the default seccomp tag
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
be85767cd4
commit
0fbeef9bbd
10
runc.spec
10
runc.spec
@ -35,7 +35,7 @@ Epoch: 1
|
||||
Epoch: 0
|
||||
%endif
|
||||
Version: 0.1.1
|
||||
Release: 0.1.git%{shortcommit}%{?dist}
|
||||
Release: 2.git%{shortcommit}%{?dist}
|
||||
Summary: CLI for running Open Containers
|
||||
License: ASL 2.0
|
||||
URL: https://%{provider_prefix}
|
||||
@ -176,8 +176,9 @@ export GOPATH=$(pwd):%{gopath}
|
||||
export GOPATH=$(pwd):$(pwd)/Godeps/_workspace:%{gopath}
|
||||
%endif
|
||||
|
||||
BUILDTAGS="seccomp selinux"
|
||||
%if ! 0%{?gobuild:1}
|
||||
%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
|
||||
%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -tags "$BUILDTAGS" -a -v -x %{?**};
|
||||
%endif
|
||||
|
||||
%gobuild -o bin/%{name} %{import_path}
|
||||
@ -259,7 +260,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
|
||||
%gotest %{import_path}/libcontainer/stacktrace
|
||||
#constant 2147483648 overflows int
|
||||
#%%gotest %{import_path}/libcontainer/user
|
||||
%gotest %{import_path}/libcontainer/utils
|
||||
#%%gotest %%{import_path}/libcontainer/utils
|
||||
#%%gotest %{import_path}/libcontainer/xattr
|
||||
%endif
|
||||
|
||||
@ -287,6 +288,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu May 19 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1:0.1.1-2.gitbaf6536
|
||||
- add selinux to BUILDTAGS in addition to the default seccomp tag
|
||||
|
||||
* Tue Apr 26 2016 jchaloup <jchaloup@redhat.com> - 1:0.1.1-0.1.gitbaf6536
|
||||
- Update to v0.1.1
|
||||
resolves: #1330378
|
||||
|
Loading…
Reference in New Issue
Block a user