diff --git a/netavark.spec b/netavark.spec index 70eee64..4e8524a 100644 --- a/netavark.spec +++ b/netavark.spec @@ -4,10 +4,12 @@ %global debug_package %{nil} -%global built_tag_strip 1.2.0 +%global built_tag v1.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}