diff --git a/skopeo.spec b/skopeo.spec index 7d69e13..e837730 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -44,7 +44,11 @@ Source0: %{git0}/archive/%{built_tag}.tar.gz BuildRequires: go-md2man %if "%{_vendor}" == "debbuild" BuildRequires: git +%if 0%{?ubuntu} <= 2004 +BuildRequires: golang-1.16 +%else BuildRequires: golang +%endif BuildRequires: libassuan-dev BuildRequires: libbtrfs-dev BuildRequires: libglib2.0-dev