From 5334909f45f9dce1cd0f3b14b933c14ef1007d20 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Fri, 6 Jan 2017 14:59:06 -0500 Subject: [PATCH] runc-1:1.0.0-1.rc2.git47ea5c7 - patch to enable seccomp From: Nalin Dahyabhai Signed-off-by: Lokesh Mandvekar --- runc.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/runc.spec b/runc.spec index 3746e65..9a5dde1 100644 --- a/runc.spec +++ b/runc.spec @@ -34,7 +34,7 @@ Name: %{repo} Epoch: 1 %endif Version: 1.0.0 -Release: 1.rc2.git%{shortcommit}%{?dist} +Release: 2.rc2.git%{shortcommit}%{?dist} Summary: CLI for running Open Containers License: ASL 2.0 URL: https://%{provider_prefix} @@ -179,10 +179,11 @@ export GOPATH=$(pwd):$(pwd)/Godeps/_workspace:%{gopath} 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')" -tags "$BUILDTAGS" -a -v -x %{?**}; +%define gobuild() go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{**}; + %endif -%gobuild -o bin/%{name} %{import_path} +%gobuild -tags "$BUILDTAGS" -o bin/%{name} %{import_path} %install install -d -p %{buildroot}%{_bindir} @@ -293,6 +294,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %endif %changelog +* Fri Jan 06 2017 Lokesh Mandvekar - 1:1.0.0-2.rc2.git47ea5c7 +- patch to enable seccomp +- From: Nalin Dahyabhai + * Wed Dec 21 2016 Lokesh Mandvekar - 1:1.0.0-1.rc2.git47ea5c7 - bump to 1.0.0 rc2 - built commit 47ea5c7