docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping

This commit is contained in:
Rex Dieter 2015-07-29 11:09:32 -05:00
parent e87861a9d2
commit f3259b7d69

View File

@ -3,14 +3,21 @@
# 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
#global bootstrap 1
%if ! 0%{?bootstrap}
%ifarch %{arm} %{ix86} x86_64
%define docs 1
%endif
%endif
#define prerelease rc
Summary: Qt5 - QtScript component
Name: qt5-%{qt_module}
Version: 5.5.0
Release: 2%{?dist}
Release: 3%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -39,8 +46,7 @@ Requires: qt5-qtbase-devel%{?_isa}
%package doc
Summary: API documentation for %{name}
Requires: %{name} = %{version}-%{release}
# for qhelpgenerator
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-qhelpgenerator
BuildArch: noarch
%description doc
%{summary}.
@ -127,6 +133,9 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
%changelog
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
- tighten qtbase dep (#1233829), .spec cosmetics