The package rpms/oci-seccomp-bpf-hook.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/oci-seccomp-bpf-hook.git/commit/?....
Change:
+%ifarch armv7hl
Thanks.
Full change:
============
commit f112b741a557e6390d1f0467864575017aceef0b
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Thu Jan 28 08:50:49 2021 -0500
oci-seccomp-bpf-hook-1.2.2-0.3.git50e7112
- use latest master commit to check gating tests
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/oci-seccomp-bpf-hook.spec b/oci-seccomp-bpf-hook.spec
index 2701b60..a90d9b4 100644
--- a/oci-seccomp-bpf-hook.spec
+++ b/oci-seccomp-bpf-hook.spec
@@ -42,7 +42,7 @@ ExclusiveArch: x86_64 %%{power64} aarch64 s390x armv7hl
Name: oci-seccomp-bpf-hook
Version: 1.2.2
-Release: 0.2.git%{shortcommit0}%{?dist}
+Release: 0.3.git%{shortcommit0}%{?dist}
Summary: OCI Hook to generate seccomp json files based on EBF syscalls used by container
License: ASL 2.0
URL: %{git0}
@@ -153,6 +153,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/%{name}/test
%changelog
+* Thu Jan 28 2021 Lokesh Mandvekar <lsm5(a)fedoraproject.org> - 1.2.2-0.3.git50e7112
+- use latest master commit to check gating tests
+
* Thu Jan 28 2021 Eduardo Santiago <santiago(a)redhat.com> - 1.2.1-2
- add -tests subpackage, and gating-test invocations
diff --git a/sources b/sources
index 9aeb6a5..54c3cdf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (oci-seccomp-bpf-hook-4e42394.tar.gz) =
b4754eea37a448c1cefb5f67af797c5f1b7e675282afed891a102b54a61b45732f87a8a348b9b653616288765689fb49bf8179e867eb4b4aa1c80030e9edba3b
+SHA512 (oci-seccomp-bpf-hook-50e7112.tar.gz) =
4660b64ab7c4cc17e6593a3a52be423bd6f15888ea5ff86009eba9c748b3f95684522f7984e6f458bd0e14fffb6f093653dda355fea998e2e37c34ad977fa590
commit 30bcfd9777c137ba77b460a1a88d3261adf65d9a
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Thu Jan 28 08:48:34 2021 -0500
temp patch to fix armv7hl build
From: David Benoit <dbenoit(a)redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/oci-seccomp-bpf-hook.spec b/oci-seccomp-bpf-hook.spec
index 28e2774..2701b60 100644
--- a/oci-seccomp-bpf-hook.spec
+++ b/oci-seccomp-bpf-hook.spec
@@ -38,7 +38,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback
libtrust_openssl
%define built_tag v1.2.1
# use the same arch definitions as present in the bcc package
-ExclusiveArch: x86_64 %{power64} aarch64 s390x
+ExclusiveArch: x86_64 %%{power64} aarch64 s390x armv7hl
Name: oci-seccomp-bpf-hook
Version: 1.2.2
@@ -81,6 +81,9 @@ This package contains system tests for %{name}
sed -i '/$(MAKE) -C docs install/d' Makefile
sed -i 's/HOOK_BIN_DIR/\%{_usr}\/libexec\/oci\/hooks.d/' %{name}.json
sed -i '/$(HOOK_DIR)\/%{name}.json/d' Makefile
+%ifarch armv7hl
+sed -i 's/func lostCallback(cbCookie unsafe.Pointer, lost C.ulong)/func
lostCallback(cbCookie unsafe.Pointer, lost C.uint64_t)/'
vendor/github.com/iovisor/gobpf/bcc/perf.go
+%endif
%build
export GO111MODULE=off