Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-05-30 15:26:33 -04:00
parent 6e4df87b17
commit eecc691c00

View File

@ -44,7 +44,7 @@ Source0: %{git0}/archive/%{built_tag}.tar.gz
BuildRequires: go-md2man
%if "%{_vendor}" == "debbuild"
BuildRequires: git
%if 0%{?debian} <= 11 || 0%{?ubuntu} <= 2004
%if (0%{?debian} && 0%{?debian} <= 11) || (0%{?ubuntu} && 0%{?ubuntu} <= 2004)
BuildRequires: golang-1.16
%else
BuildRequires: golang