use webkit macro to toggle webkit support
This commit is contained in:
parent
bdeef81fd5
commit
801df6df92
@ -6,6 +6,9 @@
|
||||
%define soprano_ver 2.8.0
|
||||
%define strigi_ver 0.7.0
|
||||
%define apidocs 1
|
||||
%if 0%{?fedora}
|
||||
%define webkit 1
|
||||
%endif
|
||||
# to build/include QCH apidocs or not (currently broken)
|
||||
#define apidocs_qch 1
|
||||
%if 0%{?rhel} > 6 || 0%{?fedora} > 17
|
||||
@ -169,7 +172,7 @@ Patch301: kdelibs-4.x-abrt.patch
|
||||
Conflicts: kdelibs3 < 3.5.10-42
|
||||
|
||||
BuildRequires: qt4-devel >= %{qt4_ver}
|
||||
%if 0%{?fedora}
|
||||
%if 0%{?webkit}
|
||||
BuildRequires: pkgconfig(QtWebKit)
|
||||
%endif
|
||||
%{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}
|
||||
@ -337,8 +340,10 @@ sed -i -e "s|@@VERSION_RELEASE@@|%{version}-%{release}|" kio/kio/kprotocolmanage
|
||||
%patch200 -p1 -b .CVE-2009-2702
|
||||
|
||||
# rhel patches
|
||||
%if 0%{?rhel}
|
||||
%if ! 0%{?webkit}
|
||||
%patch300 -p1 -b .webkit
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
%patch301 -p1 -b .abrt
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user