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