From d0e1716ef7cf26e9a792d6264dc8ee94c1c0f101 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Sep 28 2006 21:09:31 +0000 Subject: fix #207297, use qt qmake files --- diff --git a/sip.spec b/sip.spec index ab2e223..5c5562f 100644 --- a/sip.spec +++ b/sip.spec @@ -15,7 +15,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.4.5 -Release: 2 +Release: 3 License: GPL Group: Development/Tools Url: http://www.riverbankcomputing.co.uk/ @@ -56,6 +56,13 @@ classes library. %build QTDIR="" && source /etc/profile.d/qt.sh +# use qt qmake files +for target in default linux-g++ linux-g++-32 linux-g++-64 ; do + if [ -f $QTDIR/mkspecs/$target/qmake.conf -a -f specs/$target ] ; then + ln -sf $QTDIR/mkspecs/$target/qmake.conf specs/$target + fi +done + %pythonprog configure.py -d %{pythonsitedir} CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" make %{?_smp_mflags} @@ -85,6 +92,9 @@ rm -rf %{buildroot} %{_includedir}/python%{pythonver}/* %changelog +* Thu Sep 28 2006 Than Ngo 4.4.5-3 +- fix #207297, use qt qmake files + * Wed Sep 20 2006 Than Ngo 4.4.5-2 - fix #206633, own %%_datadir/sip