get version from built_tag macro
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
3b6ce66b48
commit
abd56a8e50
@ -23,10 +23,11 @@
|
|||||||
|
|
||||||
%global built_tag v1.6.0
|
%global built_tag v1.6.0
|
||||||
%global built_tag_strip %(b=%{built_tag}; echo ${b:1})
|
%global built_tag_strip %(b=%{built_tag}; echo ${b:1})
|
||||||
|
%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"})
|
||||||
|
|
||||||
Name: %{repo}
|
Name: %{repo}
|
||||||
Epoch: %{conditional_epoch}
|
Epoch: %{conditional_epoch}
|
||||||
Version: 1.6.0
|
Version: %{gen_version}
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Inspect container images and repositories on registries
|
Summary: Inspect container images and repositories on registries
|
||||||
License: ASL 2.0 and BSD and ISC and MIT
|
License: ASL 2.0 and BSD and ISC and MIT
|
||||||
|
Loading…
Reference in New Issue
Block a user