diff --git a/golang.spec b/golang.spec index 512ab84..a47b4a5 100644 --- a/golang.spec +++ b/golang.spec @@ -310,7 +310,11 @@ Requires(preun): %{_sbindir}/update-alternatives # This is an odd issue, still looking for a better fix. Requires: glibc Requires: gcc +%if 0%{?rhel} && 0%{?rhel} < 8 +Requires: git, subversion, mercurial +%else Recommends: git, subversion, mercurial +%endif %description bin %{summary}