examples aren't doc, build doc unconditionally

This commit is contained in:
Rex Dieter 2017-03-30 14:26:41 -05:00
parent d92e0a3a98
commit 3680139bcc

View File

@ -1,9 +1,7 @@
%global qt_module qtquickcontrols2
# To build without qttools doctools package, just undefine docs
%ifarch %{arm} %{ix86} x86_64
%global docs 1
%endif
Name: qt5-%{qt_module}
Summary: Qt5 - module with set of QtQuick controls for embedded
@ -122,10 +120,10 @@ rm -f %{buildroot}%{_qt5_libdir}/libQt5*.la
%dir %{_qt5_docdir}/qtlabsplatform
%{_qt5_docdir}/qtlabsplatform/*
%{_qt5_docdir}/qtlabsplatform.qch
%endif
%files examples
%{_qt5_examplesdir}/quickcontrols2/
%endif
%files devel
%{_qt5_headerdir}/