fix build where %%qmake_qt5 isn't available (yet)

epel9
Rex Dieter 10 years ago
parent 74155c946f
commit 573b35a48b

@ -94,7 +94,7 @@ Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
%if 0%{?qt5} %if 0%{?qt5}
mkdir %{_target_platform}-qt5 mkdir %{_target_platform}-qt5
pushd %{_target_platform}-qt5 pushd %{_target_platform}-qt5
%{qmake_qt5} QWT_CONFIG+=QwtPkgConfig .. %{?qmake_qt5}%{?!qmake_qt5:%{_qt5_qmake}} QWT_CONFIG+=QwtPkgConfig ..
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
@ -184,7 +184,6 @@ cp -alf %{buildroot}%{_qt4_docdir}/html/qwt/ \
%endif %endif
%changelog %changelog
* Mon Dec 01 2014 Rex Dieter <rdieter@fedoraproject.org> - 6.1.1-3 * Mon Dec 01 2014 Rex Dieter <rdieter@fedoraproject.org> - 6.1.1-3
- %%build: use %%qmake-qt? macro variant - %%build: use %%qmake-qt? macro variant

Loading…
Cancel
Save