fix -examples harder

This commit is contained in:
Rex Dieter 2014-01-27 07:59:18 -06:00
parent 22bdbbb6be
commit a930a8a659

View File

@ -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