use golang-1.16 for ubuntu 20.04 or less
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
9845ad0ca6
commit
a960da0736
@ -44,7 +44,11 @@ Source0: %{git0}/archive/%{built_tag}.tar.gz
|
|||||||
BuildRequires: go-md2man
|
BuildRequires: go-md2man
|
||||||
%if "%{_vendor}" == "debbuild"
|
%if "%{_vendor}" == "debbuild"
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
|
%if 0%{?ubuntu} <= 2004
|
||||||
|
BuildRequires: golang-1.16
|
||||||
|
%else
|
||||||
BuildRequires: golang
|
BuildRequires: golang
|
||||||
|
%endif
|
||||||
BuildRequires: libassuan-dev
|
BuildRequires: libassuan-dev
|
||||||
BuildRequires: libbtrfs-dev
|
BuildRequires: libbtrfs-dev
|
||||||
BuildRequires: libglib2.0-dev
|
BuildRequires: libglib2.0-dev
|
||||||
|
Loading…
Reference in New Issue
Block a user