diff --git a/oci-seccomp-bpf-hook.spec b/oci-seccomp-bpf-hook.spec index a2bc40e..821b169 100644 --- a/oci-seccomp-bpf-hook.spec +++ b/oci-seccomp-bpf-hook.spec @@ -16,14 +16,14 @@ %global git0 https://%{import_path} %global built_tag v1.2.6 -%global built_tag_strip 1.2.6 +%global built_tag_strip %(b=%{built_tag}; echo ${b:1}) %global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"}) # use the same arch definitions as present in the bcc package ExclusiveArch: x86_64 %{power64} aarch64 s390x armv7hl Name: %{repo} -Version: 1.2.6 +Version: %{gen_version} License: ASL 2.0 and BSD and ISC and MIT Release: %autorelease Summary: OCI Hook to generate seccomp json files based on EBF syscalls used by container