diff --git a/oci-seccomp-bpf-hook.spec b/oci-seccomp-bpf-hook.spec index c45b6e4..c695c58 100644 --- a/oci-seccomp-bpf-hook.spec +++ b/oci-seccomp-bpf-hook.spec @@ -27,26 +27,17 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl # https://github.com/containers/oci-seccomp-bpf-hook %global import_path %{provider}.%{provider_tld}/%{project}/%{repo} %global git0 https://%{provider}.%{provider_tld}/%{project}/%{repo} -# To build a random user's fork/commit, comment out above line, -# uncomment below line and replace the placeholders and commit0 below with the right info -#%%global git0 https://github.com/$GITHUB_USER/$GITHUB_USER_REPO -%global commit0 b58c502e92b1be74058067cf3ffda996e008e43f +%global commit0 9fac5591f37a857d13850e555639843c06ee910c %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) -# Used for comparing with latest upstream tag -# to decide whether to autobuild (non-rawhide only) -%define built_tag v1.2.3 - -# use the same arch definitions as present in the bcc package -ExclusiveArch: x86_64 %%{power64} aarch64 s390x armv7hl - -Name: oci-seccomp-bpf-hook -Version: 1.0.1 -Release: 0.8.git%{shortcommit0}%{?dist} +Name: %{repo} +Epoch: 100 +Version: 1.2.4 +Release: 2.git%{shortcommit0}%{?dist} Summary: OCI Hook to generate seccomp json files based on EBF syscalls used by container License: ASL 2.0 URL: %{git0} -Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz +Source0: %{git0}/archive/%{commit0}.tar.gz BuildRequires: golang BuildRequires: go-md2man BuildRequires: glib2-devel @@ -154,6 +145,13 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_datadir}/%{name}/test %changelog +* Wed Jul 14 2021 Lokesh Mandvekar - 100:1.2.4-2.git9fac559 +- bump epoch to override default package + +* Wed Jul 14 2021 Lokesh Mandvekar - 1.2.4-1.git9fac559 +- update release tag +- built commit 9fac559 + * Sat Jun 19 2021 RH Container Bot - 1.0.1-0.8.gitb58c502 - bump to 1.0.1 - autobuilt b58c502