use easier tag macros to make both fedora and debbuild happy

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-08-17 14:15:26 -04:00
parent 2a164591d1
commit bcf3455ced

View File

@ -19,7 +19,7 @@
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
%global git0 https://%{import_path}
%global built_tag v1.27.0
%global built_tag_strip 1.27.0
Name: %{repo}
Version: 1.27.0
@ -33,7 +33,7 @@ Release: %autorelease
%endif
Summary: A command line tool used for creating OCI Images
URL: https://%{name}.io
Source: %{git0}/archive/%{built_tag}.tar.gz
Source: %{git0}/archive/v%{built_tag_strip}.tar.gz
BuildRequires: go-md2man
%if "%{_vendor}" == "debbuild"
BuildRequires: git