docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping macros

This commit is contained in:
Rex Dieter 2015-07-29 10:44:34 -05:00
parent 5e2710d6d7
commit 968f535b75

View File

@ -1,14 +1,23 @@
%global qt_module qtconnectivity
# 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 - Connectivity components
Name: qt5-%{qt_module}
Version: 5.5.0
Release: 3%{?dist}
Release: 4%{?dist}
# See LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -39,8 +48,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}.
@ -147,6 +155,9 @@ popd
%changelog
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-4
- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping macros
* Sun Jul 26 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-3
- Enabled docs