diff --git a/kf5-kconfig.spec b/kf5-kconfig.spec index 867bbf1..5c470bd 100644 --- a/kf5-kconfig.spec +++ b/kf5-kconfig.spec @@ -41,7 +41,11 @@ BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qttools-devel %if 0%{?python} +%if 0%{?fedora} > 27 +BuildRequires: python2-clang +%else BuildRequires: bundled(python2-clang) >= 4.0.1 +%endif BuildRequires: clang BuildRequires: python2-PyQt5-devel BuildRequires: python3-PyQt5-devel