use easier tag macros to make both fedora and debbuild happy
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
2a164591d1
commit
bcf3455ced
@ -19,7 +19,7 @@
|
|||||||
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
|
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
|
||||||
%global git0 https://%{import_path}
|
%global git0 https://%{import_path}
|
||||||
|
|
||||||
%global built_tag v1.27.0
|
%global built_tag_strip 1.27.0
|
||||||
|
|
||||||
Name: %{repo}
|
Name: %{repo}
|
||||||
Version: 1.27.0
|
Version: 1.27.0
|
||||||
@ -33,7 +33,7 @@ Release: %autorelease
|
|||||||
%endif
|
%endif
|
||||||
Summary: A command line tool used for creating OCI Images
|
Summary: A command line tool used for creating OCI Images
|
||||||
URL: https://%{name}.io
|
URL: https://%{name}.io
|
||||||
Source: %{git0}/archive/%{built_tag}.tar.gz
|
Source: %{git0}/archive/v%{built_tag_strip}.tar.gz
|
||||||
BuildRequires: go-md2man
|
BuildRequires: go-md2man
|
||||||
%if "%{_vendor}" == "debbuild"
|
%if "%{_vendor}" == "debbuild"
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
|
Loading…
Reference in New Issue
Block a user