Fix building on older than EL8

Signed-off-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
Neal Gompa 2020-04-18 13:26:06 -04:00
parent 4487a1b142
commit 1f08860197
1 changed files with 4 additions and 0 deletions

View File

@ -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}