From 561349f5010931ab66ac32a6be00d33e5ee3a71d Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 1 Feb 2016 12:15:21 -0600 Subject: [PATCH] explicitly set CFLAGS,CXXFLAGS,LFLAGS --- python-qt5.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/python-qt5.spec b/python-qt5.spec index b3b3599..146078d 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -13,7 +13,7 @@ Summary: PyQt5 is Python bindings for Qt5 Name: python-qt5 Version: 5.5.1 -Release: 5%{?dist} +Release: 6%{?dist} # all BSD, except for GPLv2+ dbus bindings and examples License: BSD and GPLv2+ @@ -141,7 +141,8 @@ PATH=%{_qt5_bindir}:$PATH ; export PATH --no-timestamp \ --qmake=%{_qt5_qmake} \ --qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \ - --verbose + --verbose \ + CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LFLAGS="%{?__global_ldflags}" make %{?_smp_mflags} %endif # with_python2 @@ -155,7 +156,8 @@ pushd %{py3dir} --no-timestamp \ --qmake=%{_qt5_qmake} \ --no-qsci-api \ - --verbose + --verbose \ + CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LFLAGS="%{?__global_ldflags}" make %{?_smp_mflags} popd @@ -327,6 +329,9 @@ sed -i \ %changelog +* Mon Feb 01 2016 Rex Dieter 5.5.1-6 +- explicitly set CFLAGS,CXXFLAGS,LFLAGS + * Wed Jan 13 2016 Rex Dieter - 5.5.1-5 - %%description: mention PyQt5