From eacc77246cdb8a92d32b224533452db25e5b2a5e Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 6 Mar 2019 08:57:26 -0600 Subject: [PATCH] fix no_examples logic --- qt5-qtxmlpatterns.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt5-qtxmlpatterns.spec b/qt5-qtxmlpatterns.spec index c85e01d..7595378 100644 --- a/qt5-qtxmlpatterns.spec +++ b/qt5-qtxmlpatterns.spec @@ -19,10 +19,10 @@ BuildRequires: qt5-qtbase-private-devel %if 0%{?bootstrap} Obsoletes: %{name}-examples < %{version}-%{release} +%global no_examples CONFIG-=compile_examples %else BuildRequires: qt5-qtdeclarative-devel %global qml 1 -%global no_examples CONFIG-=compile_examples %endif %description