From b25d3575a13e26ac737fc6de3c55a456ff3afcdc Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 13 Jan 2014 14:23:07 -0600 Subject: [PATCH] bootstrap Qt5XmlPatterns too introduce bootstrap macro --- qt5-qtdeclarative.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index 6306a25..ffddb30 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -1,10 +1,15 @@ %global qt_module qtdeclarative +%if 0%{?rhel} > 6 +%global bootstrap 1 +%endif + + # define to build docs, need to undef this for bootstrapping # where qt5-qttools builds are not yet available # only primary archs (for now), allow secondary to bootstrap -%if 0%{?rhel} < 7 +%if ! 0%{?bootstrap} %ifarch %{arm} %{ix86} x86_64 %define docs 1 %endif @@ -31,7 +36,9 @@ Patch1: qtdeclarative-opensource-src-5.2.0-no_sse2.patch Obsoletes: qt5-qtjsbackend < 5.2.0 BuildRequires: qt5-qtbase-devel >= %{version} +%if ! 0%{?bootstrap} BuildRequires: pkgconfig(Qt5XmlPatterns) +%endif BuildRequires: python %{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}