From 68db32255a1eefa319960a5a3978675554b40c8a Mon Sep 17 00:00:00 2001 From: David Adam Date: Thu, 11 Jun 2020 22:36:36 +0800 Subject: [PATCH] fish.spec: build depends on Python 3 on all platforms except RHEL 6 --- fish.spec.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fish.spec.in b/fish.spec.in index 6c95f3320..c73580c4c 100644 --- a/fish.spec.in +++ b/fish.spec.in @@ -30,9 +30,7 @@ BuildRequires: gcc48 gcc48-c++ # Need the en_US.utf-8 locale at a minimum BuildRequires: glibc-langpack-en %endif -%if 0%{?rhel} && 0%{?rhel} < 8 -BuildRequires: python -%else +%if 0%{?rhel} != 6 BuildRequires: python3 %endif