use %qmake_qt5 macro to ensure proper build flags

This commit is contained in:
Rex Dieter 2016-02-01 11:20:10 -06:00
commit bbb2ab8456

View file

@ -1,7 +1,7 @@
Name: admeshgui
%global camelname ADMeshGUI
Version: 1.0.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: STL viewer and manipulation tool
# Code is AGPLv3 logo/license is LGPLv3 or CC-BY-SA
License: AGPLv3 and (LGPLv3 or CC-BY-SA)
@ -34,7 +34,7 @@ selected actions and to get visual feedback of those.
%setup -qn %{camelname}-%{version}
%build
qmake-qt5 PREFIX=%{buildroot}/usr
%{qmake_qt5} PREFIX=%{buildroot}/usr
make %{?_smp_mflags}
%install
@ -71,6 +71,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%changelog
* Mon Feb 01 2016 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2
- use %%qmake_qt5 macro to ensure proper build flags
* Wed Sep 16 2015 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-1
- update