From 2aa6732b6e09682915ad8ae8e3ff03a8c8b8754c Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sat, 5 Mar 2016 09:40:08 -0600 Subject: [PATCH] python-qt5 is not built with $RPM_OPT_FLAGS (#1314998) --- python-qt5.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/python-qt5.spec b/python-qt5.spec index 952e7e1..3fb9266 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -17,7 +17,7 @@ Summary: PyQt5 is Python bindings for Qt5 Name: python-qt5 Version: 5.5.1 -Release: 13%{?dist} +Release: 14%{?dist} # all BSD, except for GPLv2+ dbus bindings and examples License: BSD and GPLv2+ @@ -180,7 +180,9 @@ pushd %{_target_platform} --qmake=%{_qt5_qmake} \ --qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \ --verbose \ - CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LFLAGS="%{?__global_ldflags}" + QMAKE_CFLAGS_RELEASE="%{optflags}" \ + QMAKE_CXXFLAGS_RELEASE="%{optflags}" \ + LFLAGS="%{?__global_ldflags}" make %{?_smp_mflags} popd @@ -197,7 +199,9 @@ pushd %{_target_platform}-python3 --qmake=%{_qt5_qmake} \ --no-qsci-api \ --verbose \ - CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LFLAGS="%{?__global_ldflags}" + QMAKE_CFLAGS_RELEASE="%{optflags}" \ + QMAKE_CXXFLAGS_RELEASE="%{optflags}" \ + LFLAGS="%{?__global_ldflags}" make %{?_smp_mflags} popd @@ -387,6 +391,9 @@ sed -i \ %changelog +* Sat Mar 05 2016 Rex Dieter 5.5.1-14 +- python-qt5 is not built with $RPM_OPT_FLAGS (#1314998) + * Thu Mar 03 2016 Rex Dieter 5.5.1-13 - fix python3-qt5-webengine name