From 20b7fd1374e069dd14c6a77342040fc49b7135f9 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 8 Jan 2018 10:14:20 -0600 Subject: [PATCH] try packaged python2-clang (on f28+) --- kf5-kconfig.spec | 4 ++++ 1 file changed, 4 insertions(+) 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