diff --git a/netavark.spec b/netavark.spec index b1db999..1ba3fd5 100644 --- a/netavark.spec +++ b/netavark.spec @@ -5,11 +5,11 @@ %global debug_package %{nil} %global built_tag v1.2.0 -%global built_tag_strip 1.2.0 +%global built_tag_strip %(b=%{built_tag}; echo ${b:1}) %global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"}) Name: netavark -Version: 1.2.0 +Version: %{gen_version} Release: %autorelease License: ASL 2.0 and BSD and MIT ExclusiveArch: %{rust_arches}