diff --git a/kf5-kconfig.spec b/kf5-kconfig.spec index bf9659d..22f47f5 100644 --- a/kf5-kconfig.spec +++ b/kf5-kconfig.spec @@ -41,10 +41,10 @@ BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qttools-devel %if 0%{?python} -%if 0%{?fedora} > 27 -BuildRequires: python2-clang -%else +%if 0%{?fedora} && 0%{?fedora} < 27 BuildRequires: bundled(python2-clang) >= 4.0.1 +%else +BuildRequires: python2-clang %endif BuildRequires: clang BuildRequires: python2-PyQt5-devel