use %qmake_qt5 to ensure proper build flags

This commit is contained in:
Rex Dieter 2016-02-01 11:57:34 -06:00
parent 37723c8f9d
commit ccb51a3641
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: texstudio
Version: 2.10.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A feature-rich editor for LaTeX documents
Group: Applications/Publishing
@ -57,7 +57,7 @@ rm -rf {hunspell,qtsingleapplication}
%build
export QTDIR=%{_libdir}/qt5
%{_qt5_qmake} CONFIG-=debug \
%{qmake_qt5} CONFIG-=debug \
%ifnarch %{ix86} x86_64 %{arm}
NO_CRASH_HANDLER=1 \
%endif
@ -131,6 +131,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
%doc utilities/AUTHORS utilities/COPYING utilities/manual/CHANGELOG.txt
%changelog
* Mon Feb 01 2016 Rex Dieter <rdieter@fedoraproject.org> 2.10.8-2
- use %%qmake_qt5 to ensure proper build flags
* Sun Jan 24 2016 Johannes Lips <hannes@fedoraproject.org> 2.10.8-1
- Update to latest upstream bugfix release 2.10.8