diff --git a/aardvark-dns.spec b/aardvark-dns.spec index 2f1d5d8..3a669bf 100644 --- a/aardvark-dns.spec +++ b/aardvark-dns.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: aardvark-dns -Version: 1.2.0 +Version: %{gen_version} License: ASL 2.0 and BSD and MIT Release: %autorelease ExclusiveArch: %{rust_arches}