python-qt5 is not built with $RPM_OPT_FLAGS (#1314998)

This commit is contained in:
Rex Dieter 2016-03-05 09:40:08 -06:00
parent f811d7dd90
commit 2aa6732b6e

View File

@ -17,7 +17,7 @@
Summary: PyQt5 is Python bindings for Qt5 Summary: PyQt5 is Python bindings for Qt5
Name: python-qt5 Name: python-qt5
Version: 5.5.1 Version: 5.5.1
Release: 13%{?dist} Release: 14%{?dist}
# all BSD, except for GPLv2+ dbus bindings and examples # all BSD, except for GPLv2+ dbus bindings and examples
License: BSD and GPLv2+ License: BSD and GPLv2+
@ -180,7 +180,9 @@ pushd %{_target_platform}
--qmake=%{_qt5_qmake} \ --qmake=%{_qt5_qmake} \
--qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \ --qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \
--verbose \ --verbose \
CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LFLAGS="%{?__global_ldflags}" QMAKE_CFLAGS_RELEASE="%{optflags}" \
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
LFLAGS="%{?__global_ldflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
@ -197,7 +199,9 @@ pushd %{_target_platform}-python3
--qmake=%{_qt5_qmake} \ --qmake=%{_qt5_qmake} \
--no-qsci-api \ --no-qsci-api \
--verbose \ --verbose \
CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LFLAGS="%{?__global_ldflags}" QMAKE_CFLAGS_RELEASE="%{optflags}" \
QMAKE_CXXFLAGS_RELEASE="%{optflags}" \
LFLAGS="%{?__global_ldflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
@ -387,6 +391,9 @@ sed -i \
%changelog %changelog
* Sat Mar 05 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-14
- python-qt5 is not built with $RPM_OPT_FLAGS (#1314998)
* Thu Mar 03 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-13 * Thu Mar 03 2016 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-13
- fix python3-qt5-webengine name - fix python3-qt5-webengine name