From 707c632f9e9ab7a3f17f4360cb24e3950ed214c4 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Tue, 28 Apr 2020 14:37:04 +0200 Subject: [PATCH] Inverted some checks. --- fmt.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fmt.spec b/fmt.spec index 26267cd..9caa555 100644 --- a/fmt.spec +++ b/fmt.spec @@ -25,12 +25,12 @@ BuildRequires: cmake # For building documentation BuildRequires: doxygen BuildRequires: nodejs-less -%if 0%{?fedora} -BuildRequires: python3-sphinx -BuildRequires: python3-breathe -%else +%if 0%{?rhel} && 0%{?rhel} <= 7 BuildRequires: python2-sphinx BuildRequires: python2-breathe +%else +BuildRequires: python3-sphinx +BuildRequires: python3-breathe %endif # This package replaces the old name of cppformat