diff --git a/conmon.spec b/conmon.spec index 09156f8..79ac50d 100644 --- a/conmon.spec +++ b/conmon.spec @@ -8,14 +8,13 @@ %global debug_package %{nil} %endif -# Used for comparing with latest upstream tag -# to decide whether to autobuild %global built_tag v2.1.0 %global built_tag_strip %(b=%{built_tag}; echo ${b:1}) +%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"}) Name: conmon Epoch: 2 -Version: 2.1.0 +Version: %{gen_version} Release: %autorelease Summary: OCI container runtime monitor License: ASL 2.0