adjust macros for correct version
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
e971ddf4c6
commit
77b16fc288
@ -4,10 +4,12 @@
|
|||||||
|
|
||||||
%global debug_package %{nil}
|
%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
|
Name: netavark
|
||||||
Version: 1.2.0
|
Version: %{gen_version}
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
License: ASL 2.0 and BSD and MIT
|
License: ASL 2.0 and BSD and MIT
|
||||||
ExclusiveArch: %{rust_arches}
|
ExclusiveArch: %{rust_arches}
|
||||||
|
Loading…
Reference in New Issue
Block a user