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