From 38d530bc5b18cbd98bb8ebd4858def5f89f25cf4 Mon Sep 17 00:00:00 2001 From: David Adam Date: Thu, 13 Feb 2020 23:18:23 +0800 Subject: [PATCH] fish.spec: bump Python requirement to 3 on non-RHEL 6/7 platforms. Work on #6537. --- fish.spec.in | 4 ++++ 1 file changed, 4 insertions(+) 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