use %qmake_qt4 macro to ensure proper build flags

This commit is contained in:
Rex Dieter 2016-02-03 07:48:36 -06:00
parent 09308cc008
commit 4eab49ad8c

View File

@ -9,7 +9,7 @@
Name: qt-mobility
Summary: Qt Mobility Framework
Version: 1.2.2
Release: 0.21.%{snap}git%{git_short}%{?dist}
Release: 0.22.%{snap}git%{git_short}%{?dist}
License: LGPLv2 with exceptions
URL: http://qt.digia.com/Product/Qt-Add-Ons/
@ -255,6 +255,10 @@ PATH=%{_qt4_bindir}:$PATH; export PATH
-release \
%{?examples:-examples}
# manually rerun qmake to ensure build flags, though this may be fragile
# consider using qmake wrapper for -qmake-exec above in that case -- rex
%{qmake_qt4} -r
make %{?_smp_mflags}
make %{?_smp_mflags} qch_docs
@ -438,6 +442,9 @@ cp -a doc/html/* %{buildroot}%{_qt4_docdir}/html/qtmobility/
%changelog
* Wed Feb 03 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.2.2-0.22.20140317git169da60c
- use %%qmake_qt4 macro to ensure proper build flags
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-0.21.20140317git169da60c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild