From 98f4a248abf5f2f183db2796199e552b56f0abe5 Mon Sep 17 00:00:00 2001 From: Daniel Vrátil Date: Jul 08 2016 19:04:37 +0000 Subject: Require python-sphinx on F23 and epel7 The package does not provide pytho2-sphinx there, only on F>=24 --- diff --git a/extra-cmake-modules.spec b/extra-cmake-modules.spec index 906a872..9c0224b 100644 --- a/extra-cmake-modules.spec +++ b/extra-cmake-modules.spec @@ -31,7 +31,11 @@ BuildRequires: kf5-rpm-macros # qcollectiongenerator BuildRequires: qt5-qttools-devel # sphinx-build +%if 0%{?fedora} > 23 BuildRequires: python2-sphinx +%else +BuildRequires: python-sphinx +%endif %endif Requires: kf5-rpm-macros