From a930a8a6590fb1defb8c619dea4d8b3389b269c0 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 27 Jan 2014 07:59:18 -0600 Subject: [PATCH] fix -examples harder --- qt5-qtscript.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt5-qtscript.spec b/qt5-qtscript.spec index 2e49472..d492b0a 100644 --- a/qt5-qtscript.spec +++ b/qt5-qtscript.spec @@ -47,7 +47,7 @@ BuildArch: noarch %{summary}. %endif -%if 0%{?docs} && 0%{?_qt5_examplesdir} +%if 0%{?docs} && 0%{?_qt5_examplesdir:1} %package examples Summary: Programming examples for %{name} BuildRequires: pkgconfig(Qt5UiTools) @@ -113,7 +113,7 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la %{_qt5_docdir}/qtscripttools/ %endif -%if 0%{?_qt5_examplesdir:1} +%if 0%{?docs} && 0%{?_qt5_examplesdir:1} %files examples %{_qt5_examplesdir}/ %endif