docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping

This commit is contained in:
Rex Dieter 2015-07-29 11:11:25 -05:00
parent af21d56101
commit ea77227235
1 changed files with 14 additions and 3 deletions

View File

@ -1,14 +1,23 @@
%global qt_module qtserialport
# 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 - SerialPort 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
@ -36,8 +45,7 @@ Requires: qt5-qtbase-devel%{?_isa}
Summary: API documentation for %{name}
License: GFDL
Requires: %{name} = %{version}-%{release}
# for qhelpgenerator
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-qhelpgenerator
BuildArch: noarch
%description doc
%{summary}.
@ -128,6 +136,9 @@ popd
%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)