diff --git a/fish.spec.in b/fish.spec.in index fb8ee73f6..0559c175c 100644 --- a/fish.spec.in +++ b/fish.spec.in @@ -38,7 +38,11 @@ BuildRequires: python3 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +%if 0%{?rhel} && 0%{?rhel} < 8 Requires: python +%else +Requires: python3 +%endif Requires: man %description