no conditionals for ubuntu versions

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-06-01 09:47:56 -04:00
parent eecc691c00
commit a0930bc628

View File

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