From 880f9a3c56ca4525b5a7e7b5d601a6a40484baa4 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Oct 03 2017 19:40:30 +0000 Subject: unconditionally include bundled clang-python sources Seems f26 at least has issues with conditionalized sources --- diff --git a/extra-cmake-modules.spec b/extra-cmake-modules.spec index 9c85480..096838b 100644 --- a/extra-cmake-modules.spec +++ b/extra-cmake-modules.spec @@ -25,11 +25,11 @@ URL: https://api.kde.org/ecm/ Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{name}-%{version}.tar.xz BuildArch: noarch -%if 0%{?fedora} > 25 -%global clang 1 # bundle clang python bindings here, at least until they are properly packaged elsewhere, see: # https://bugzilla.redhat.com/show_bug.cgi?id=1490997 Source1: clang-python-4.0.1.tar.gz +%if 0%{?fedora} > 25 +%global clang 1 Provides: bundled(python2-clang) = 4.0.1 %if 0%{?tests} BuildRequires: python2-PyQt5-devel @@ -70,7 +70,7 @@ Additional modules for CMake build system needed by KDE Frameworks. %prep -%autosetup -p1 %{?clang:-a1} +%autosetup -p1 -a1 %build