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